AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
UpdateTieringConfigurationResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Backup {
24namespace Model {
26 public:
27 AWS_BACKUP_API UpdateTieringConfigurationResult() = default;
30
32
36 inline const Aws::String& GetTieringConfigurationArn() const { return m_tieringConfigurationArn; }
37 template <typename TieringConfigurationArnT = Aws::String>
38 void SetTieringConfigurationArn(TieringConfigurationArnT&& value) {
39 m_tieringConfigurationArnHasBeenSet = true;
40 m_tieringConfigurationArn = std::forward<TieringConfigurationArnT>(value);
41 }
42 template <typename TieringConfigurationArnT = Aws::String>
44 SetTieringConfigurationArn(std::forward<TieringConfigurationArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetTieringConfigurationName() const { return m_tieringConfigurationName; }
54 template <typename TieringConfigurationNameT = Aws::String>
55 void SetTieringConfigurationName(TieringConfigurationNameT&& value) {
56 m_tieringConfigurationNameHasBeenSet = true;
57 m_tieringConfigurationName = std::forward<TieringConfigurationNameT>(value);
58 }
59 template <typename TieringConfigurationNameT = Aws::String>
61 SetTieringConfigurationName(std::forward<TieringConfigurationNameT>(value));
62 return *this;
63 }
65
67
73 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
74 template <typename CreationTimeT = Aws::Utils::DateTime>
75 void SetCreationTime(CreationTimeT&& value) {
76 m_creationTimeHasBeenSet = true;
77 m_creationTime = std::forward<CreationTimeT>(value);
78 }
79 template <typename CreationTimeT = Aws::Utils::DateTime>
81 SetCreationTime(std::forward<CreationTimeT>(value));
82 return *this;
83 }
85
87
93 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
94 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
95 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
96 m_lastUpdatedTimeHasBeenSet = true;
97 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
98 }
99 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
101 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
102 return *this;
103 }
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template <typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) {
111 m_requestIdHasBeenSet = true;
112 m_requestId = std::forward<RequestIdT>(value);
113 }
114 template <typename RequestIdT = Aws::String>
116 SetRequestId(std::forward<RequestIdT>(value));
117 return *this;
118 }
120 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
121
122 private:
123 Aws::String m_tieringConfigurationArn;
124
125 Aws::String m_tieringConfigurationName;
126
127 Aws::Utils::DateTime m_creationTime{};
128
129 Aws::Utils::DateTime m_lastUpdatedTime{};
130
131 Aws::String m_requestId;
132 Aws::Http::HttpResponseCode m_HttpResponseCode;
133 bool m_tieringConfigurationArnHasBeenSet = false;
134 bool m_tieringConfigurationNameHasBeenSet = false;
135 bool m_creationTimeHasBeenSet = false;
136 bool m_lastUpdatedTimeHasBeenSet = false;
137 bool m_requestIdHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace Backup
142} // namespace Aws
UpdateTieringConfigurationResult & WithRequestId(RequestIdT &&value)
UpdateTieringConfigurationResult & WithCreationTime(CreationTimeT &&value)
UpdateTieringConfigurationResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_BACKUP_API UpdateTieringConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTieringConfigurationResult & WithTieringConfigurationArn(TieringConfigurationArnT &&value)
UpdateTieringConfigurationResult & WithTieringConfigurationName(TieringConfigurationNameT &&value)
AWS_BACKUP_API UpdateTieringConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue