AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateFrameworkRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 #include <aws/core/utils/UUID.h>
14 
15 namespace Aws
16 {
17 namespace Backup
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateFramework"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
43  inline const Aws::String& GetFrameworkName() const{ return m_frameworkName; }
44 
50  inline bool FrameworkNameHasBeenSet() const { return m_frameworkNameHasBeenSet; }
51 
57  inline void SetFrameworkName(const Aws::String& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = value; }
58 
64  inline void SetFrameworkName(Aws::String&& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = std::move(value); }
65 
71  inline void SetFrameworkName(const char* value) { m_frameworkNameHasBeenSet = true; m_frameworkName.assign(value); }
72 
78  inline UpdateFrameworkRequest& WithFrameworkName(const Aws::String& value) { SetFrameworkName(value); return *this;}
79 
85  inline UpdateFrameworkRequest& WithFrameworkName(Aws::String&& value) { SetFrameworkName(std::move(value)); return *this;}
86 
92  inline UpdateFrameworkRequest& WithFrameworkName(const char* value) { SetFrameworkName(value); return *this;}
93 
94 
98  inline const Aws::String& GetFrameworkDescription() const{ return m_frameworkDescription; }
99 
103  inline bool FrameworkDescriptionHasBeenSet() const { return m_frameworkDescriptionHasBeenSet; }
104 
108  inline void SetFrameworkDescription(const Aws::String& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = value; }
109 
113  inline void SetFrameworkDescription(Aws::String&& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = std::move(value); }
114 
118  inline void SetFrameworkDescription(const char* value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription.assign(value); }
119 
123  inline UpdateFrameworkRequest& WithFrameworkDescription(const Aws::String& value) { SetFrameworkDescription(value); return *this;}
124 
128  inline UpdateFrameworkRequest& WithFrameworkDescription(Aws::String&& value) { SetFrameworkDescription(std::move(value)); return *this;}
129 
133  inline UpdateFrameworkRequest& WithFrameworkDescription(const char* value) { SetFrameworkDescription(value); return *this;}
134 
135 
140  inline const Aws::Vector<FrameworkControl>& GetFrameworkControls() const{ return m_frameworkControls; }
141 
146  inline bool FrameworkControlsHasBeenSet() const { return m_frameworkControlsHasBeenSet; }
147 
152  inline void SetFrameworkControls(const Aws::Vector<FrameworkControl>& value) { m_frameworkControlsHasBeenSet = true; m_frameworkControls = value; }
153 
158  inline void SetFrameworkControls(Aws::Vector<FrameworkControl>&& value) { m_frameworkControlsHasBeenSet = true; m_frameworkControls = std::move(value); }
159 
164  inline UpdateFrameworkRequest& WithFrameworkControls(const Aws::Vector<FrameworkControl>& value) { SetFrameworkControls(value); return *this;}
165 
170  inline UpdateFrameworkRequest& WithFrameworkControls(Aws::Vector<FrameworkControl>&& value) { SetFrameworkControls(std::move(value)); return *this;}
171 
176  inline UpdateFrameworkRequest& AddFrameworkControls(const FrameworkControl& value) { m_frameworkControlsHasBeenSet = true; m_frameworkControls.push_back(value); return *this; }
177 
182  inline UpdateFrameworkRequest& AddFrameworkControls(FrameworkControl&& value) { m_frameworkControlsHasBeenSet = true; m_frameworkControls.push_back(std::move(value)); return *this; }
183 
184 
191  inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
192 
199  inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
200 
207  inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
208 
215  inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
216 
223  inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
224 
231  inline UpdateFrameworkRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
232 
239  inline UpdateFrameworkRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
240 
247  inline UpdateFrameworkRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
248 
249  private:
250 
251  Aws::String m_frameworkName;
252  bool m_frameworkNameHasBeenSet;
253 
254  Aws::String m_frameworkDescription;
255  bool m_frameworkDescriptionHasBeenSet;
256 
257  Aws::Vector<FrameworkControl> m_frameworkControls;
258  bool m_frameworkControlsHasBeenSet;
259 
260  Aws::String m_idempotencyToken;
261  bool m_idempotencyTokenHasBeenSet;
262  };
263 
264 } // namespace Model
265 } // namespace Backup
266 } // namespace Aws
Aws::Backup::Model::UpdateFrameworkRequest::UpdateFrameworkRequest
UpdateFrameworkRequest()
Aws::Backup::Model::UpdateFrameworkRequest::SetFrameworkName
void SetFrameworkName(const char *value)
Definition: UpdateFrameworkRequest.h:71
Aws::Backup::Model::UpdateFrameworkRequest::WithFrameworkControls
UpdateFrameworkRequest & WithFrameworkControls(const Aws::Vector< FrameworkControl > &value)
Definition: UpdateFrameworkRequest.h:164
Aws::Backup::Model::UpdateFrameworkRequest::FrameworkControlsHasBeenSet
bool FrameworkControlsHasBeenSet() const
Definition: UpdateFrameworkRequest.h:146
FrameworkControl.h
Aws::Backup::Model::UpdateFrameworkRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Backup::Model::UpdateFrameworkRequest::GetFrameworkDescription
const Aws::String & GetFrameworkDescription() const
Definition: UpdateFrameworkRequest.h:98
Aws::Backup::Model::UpdateFrameworkRequest::FrameworkDescriptionHasBeenSet
bool FrameworkDescriptionHasBeenSet() const
Definition: UpdateFrameworkRequest.h:103
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::UpdateFrameworkRequest::WithFrameworkDescription
UpdateFrameworkRequest & WithFrameworkDescription(Aws::String &&value)
Definition: UpdateFrameworkRequest.h:128
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Backup::Model::UpdateFrameworkRequest::SetFrameworkDescription
void SetFrameworkDescription(Aws::String &&value)
Definition: UpdateFrameworkRequest.h:113
AWSVector.h
Aws::Backup::Model::UpdateFrameworkRequest::SetFrameworkName
void SetFrameworkName(const Aws::String &value)
Definition: UpdateFrameworkRequest.h:57
Aws::Backup::Model::UpdateFrameworkRequest::GetFrameworkName
const Aws::String & GetFrameworkName() const
Definition: UpdateFrameworkRequest.h:43
BackupRequest.h
Aws::Backup::Model::UpdateFrameworkRequest::WithIdempotencyToken
UpdateFrameworkRequest & WithIdempotencyToken(const Aws::String &value)
Definition: UpdateFrameworkRequest.h:231
Aws::Backup::Model::UpdateFrameworkRequest::SetIdempotencyToken
void SetIdempotencyToken(Aws::String &&value)
Definition: UpdateFrameworkRequest.h:215
Aws::Backup::BackupRequest
Definition: BackupRequest.h:17
Aws::Backup::Model::UpdateFrameworkRequest::IdempotencyTokenHasBeenSet
bool IdempotencyTokenHasBeenSet() const
Definition: UpdateFrameworkRequest.h:199
Aws::Backup::Model::UpdateFrameworkRequest::WithFrameworkName
UpdateFrameworkRequest & WithFrameworkName(const char *value)
Definition: UpdateFrameworkRequest.h:92
AWSString.h
Aws::Backup::Model::UpdateFrameworkRequest::SetIdempotencyToken
void SetIdempotencyToken(const char *value)
Definition: UpdateFrameworkRequest.h:223
Aws::Backup::Model::UpdateFrameworkRequest::FrameworkNameHasBeenSet
bool FrameworkNameHasBeenSet() const
Definition: UpdateFrameworkRequest.h:50
Aws::Backup::Model::UpdateFrameworkRequest::WithIdempotencyToken
UpdateFrameworkRequest & WithIdempotencyToken(Aws::String &&value)
Definition: UpdateFrameworkRequest.h:239
Aws::Backup::Model::UpdateFrameworkRequest::SetFrameworkName
void SetFrameworkName(Aws::String &&value)
Definition: UpdateFrameworkRequest.h:64
Backup_EXPORTS.h
Aws::Backup::Model::UpdateFrameworkRequest::WithFrameworkName
UpdateFrameworkRequest & WithFrameworkName(const Aws::String &value)
Definition: UpdateFrameworkRequest.h:78
Aws::Backup::Model::UpdateFrameworkRequest::WithFrameworkDescription
UpdateFrameworkRequest & WithFrameworkDescription(const char *value)
Definition: UpdateFrameworkRequest.h:133
Aws::Backup::Model::FrameworkControl
Definition: FrameworkControl.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::UpdateFrameworkRequest::AddFrameworkControls
UpdateFrameworkRequest & AddFrameworkControls(FrameworkControl &&value)
Definition: UpdateFrameworkRequest.h:182
Aws::Backup::Model::UpdateFrameworkRequest::WithFrameworkDescription
UpdateFrameworkRequest & WithFrameworkDescription(const Aws::String &value)
Definition: UpdateFrameworkRequest.h:123
Aws::Backup::Model::UpdateFrameworkRequest::SetFrameworkControls
void SetFrameworkControls(Aws::Vector< FrameworkControl > &&value)
Definition: UpdateFrameworkRequest.h:158
Aws::Backup::Model::UpdateFrameworkRequest::SetFrameworkDescription
void SetFrameworkDescription(const Aws::String &value)
Definition: UpdateFrameworkRequest.h:108
Aws::Backup::Model::UpdateFrameworkRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFrameworkRequest.h:33
Aws::Backup::Model::UpdateFrameworkRequest::WithFrameworkName
UpdateFrameworkRequest & WithFrameworkName(Aws::String &&value)
Definition: UpdateFrameworkRequest.h:85
Aws::Backup::Model::UpdateFrameworkRequest::GetIdempotencyToken
const Aws::String & GetIdempotencyToken() const
Definition: UpdateFrameworkRequest.h:191
Aws::Backup::Model::UpdateFrameworkRequest::SetFrameworkDescription
void SetFrameworkDescription(const char *value)
Definition: UpdateFrameworkRequest.h:118
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Backup::Model::UpdateFrameworkRequest::SetIdempotencyToken
void SetIdempotencyToken(const Aws::String &value)
Definition: UpdateFrameworkRequest.h:207
Aws::Backup::Model::UpdateFrameworkRequest::AddFrameworkControls
UpdateFrameworkRequest & AddFrameworkControls(const FrameworkControl &value)
Definition: UpdateFrameworkRequest.h:176
UUID.h
Aws::Backup::Model::UpdateFrameworkRequest::SetFrameworkControls
void SetFrameworkControls(const Aws::Vector< FrameworkControl > &value)
Definition: UpdateFrameworkRequest.h:152
Aws::Backup::Model::UpdateFrameworkRequest::GetFrameworkControls
const Aws::Vector< FrameworkControl > & GetFrameworkControls() const
Definition: UpdateFrameworkRequest.h:140
Aws::Backup::Model::UpdateFrameworkRequest::WithFrameworkControls
UpdateFrameworkRequest & WithFrameworkControls(Aws::Vector< FrameworkControl > &&value)
Definition: UpdateFrameworkRequest.h:170
Aws::Backup::Model::UpdateFrameworkRequest::WithIdempotencyToken
UpdateFrameworkRequest & WithIdempotencyToken(const char *value)
Definition: UpdateFrameworkRequest.h:247
Aws::Backup::Model::UpdateFrameworkRequest
Definition: UpdateFrameworkRequest.h:25