AWS SDK for C++  1.9.109
AWS SDK for C++
StartChangeSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace MarketplaceCatalog
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "StartChangeSet"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
41  inline const Aws::String& GetCatalog() const{ return m_catalog; }
42 
47  inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
48 
53  inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; }
54 
59  inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); }
60 
65  inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); }
66 
71  inline StartChangeSetRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;}
72 
77  inline StartChangeSetRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;}
78 
83  inline StartChangeSetRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;}
84 
85 
89  inline const Aws::Vector<Change>& GetChangeSet() const{ return m_changeSet; }
90 
94  inline bool ChangeSetHasBeenSet() const { return m_changeSetHasBeenSet; }
95 
99  inline void SetChangeSet(const Aws::Vector<Change>& value) { m_changeSetHasBeenSet = true; m_changeSet = value; }
100 
104  inline void SetChangeSet(Aws::Vector<Change>&& value) { m_changeSetHasBeenSet = true; m_changeSet = std::move(value); }
105 
109  inline StartChangeSetRequest& WithChangeSet(const Aws::Vector<Change>& value) { SetChangeSet(value); return *this;}
110 
114  inline StartChangeSetRequest& WithChangeSet(Aws::Vector<Change>&& value) { SetChangeSet(std::move(value)); return *this;}
115 
119  inline StartChangeSetRequest& AddChangeSet(const Change& value) { m_changeSetHasBeenSet = true; m_changeSet.push_back(value); return *this; }
120 
124  inline StartChangeSetRequest& AddChangeSet(Change&& value) { m_changeSetHasBeenSet = true; m_changeSet.push_back(std::move(value)); return *this; }
125 
126 
131  inline const Aws::String& GetChangeSetName() const{ return m_changeSetName; }
132 
137  inline bool ChangeSetNameHasBeenSet() const { return m_changeSetNameHasBeenSet; }
138 
143  inline void SetChangeSetName(const Aws::String& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = value; }
144 
149  inline void SetChangeSetName(Aws::String&& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = std::move(value); }
150 
155  inline void SetChangeSetName(const char* value) { m_changeSetNameHasBeenSet = true; m_changeSetName.assign(value); }
156 
161  inline StartChangeSetRequest& WithChangeSetName(const Aws::String& value) { SetChangeSetName(value); return *this;}
162 
167  inline StartChangeSetRequest& WithChangeSetName(Aws::String&& value) { SetChangeSetName(std::move(value)); return *this;}
168 
173  inline StartChangeSetRequest& WithChangeSetName(const char* value) { SetChangeSetName(value); return *this;}
174 
175 
179  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
180 
184  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
185 
189  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
190 
194  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
195 
199  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
200 
204  inline StartChangeSetRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
205 
209  inline StartChangeSetRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
210 
214  inline StartChangeSetRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
215 
216  private:
217 
218  Aws::String m_catalog;
219  bool m_catalogHasBeenSet;
220 
221  Aws::Vector<Change> m_changeSet;
222  bool m_changeSetHasBeenSet;
223 
224  Aws::String m_changeSetName;
225  bool m_changeSetNameHasBeenSet;
226 
227  Aws::String m_clientRequestToken;
228  bool m_clientRequestTokenHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace MarketplaceCatalog
233 } // namespace Aws
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::ChangeSetNameHasBeenSet
bool ChangeSetNameHasBeenSet() const
Definition: StartChangeSetRequest.h:137
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::StartChangeSetRequest
StartChangeSetRequest()
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::WithChangeSet
StartChangeSetRequest & WithChangeSet(Aws::Vector< Change > &&value)
Definition: StartChangeSetRequest.h:114
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SetCatalog
void SetCatalog(const char *value)
Definition: StartChangeSetRequest.h:65
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::WithCatalog
StartChangeSetRequest & WithCatalog(Aws::String &&value)
Definition: StartChangeSetRequest.h:77
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::WithChangeSetName
StartChangeSetRequest & WithChangeSetName(Aws::String &&value)
Definition: StartChangeSetRequest.h:167
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::WithChangeSetName
StartChangeSetRequest & WithChangeSetName(const Aws::String &value)
Definition: StartChangeSetRequest.h:161
MarketplaceCatalog_EXPORTS.h
MarketplaceCatalogRequest.h
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SetChangeSetName
void SetChangeSetName(const Aws::String &value)
Definition: StartChangeSetRequest.h:143
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::AddChangeSet
StartChangeSetRequest & AddChangeSet(Change &&value)
Definition: StartChangeSetRequest.h:124
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartChangeSetRequest.h:189
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SetCatalog
void SetCatalog(Aws::String &&value)
Definition: StartChangeSetRequest.h:59
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SetCatalog
void SetCatalog(const Aws::String &value)
Definition: StartChangeSetRequest.h:53
Aws::MarketplaceCatalog::MarketplaceCatalogRequest
Definition: MarketplaceCatalogRequest.h:17
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartChangeSetRequest.h:184
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartChangeSetRequest.h:32
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::AddChangeSet
StartChangeSetRequest & AddChangeSet(const Change &value)
Definition: StartChangeSetRequest.h:119
Aws::MarketplaceCatalog::Model::Change
Definition: Change.h:34
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SetChangeSet
void SetChangeSet(const Aws::Vector< Change > &value)
Definition: StartChangeSetRequest.h:99
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::WithChangeSetName
StartChangeSetRequest & WithChangeSetName(const char *value)
Definition: StartChangeSetRequest.h:173
Aws::MarketplaceCatalog::Model::StartChangeSetRequest
Definition: StartChangeSetRequest.h:24
AWSVector.h
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartChangeSetRequest.h:179
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::WithCatalog
StartChangeSetRequest & WithCatalog(const Aws::String &value)
Definition: StartChangeSetRequest.h:71
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::WithClientRequestToken
StartChangeSetRequest & WithClientRequestToken(const char *value)
Definition: StartChangeSetRequest.h:214
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::WithClientRequestToken
StartChangeSetRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartChangeSetRequest.h:209
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::GetChangeSet
const Aws::Vector< Change > & GetChangeSet() const
Definition: StartChangeSetRequest.h:89
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::WithChangeSet
StartChangeSetRequest & WithChangeSet(const Aws::Vector< Change > &value)
Definition: StartChangeSetRequest.h:109
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::CatalogHasBeenSet
bool CatalogHasBeenSet() const
Definition: StartChangeSetRequest.h:47
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SetChangeSet
void SetChangeSet(Aws::Vector< Change > &&value)
Definition: StartChangeSetRequest.h:104
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::WithClientRequestToken
StartChangeSetRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartChangeSetRequest.h:204
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::WithCatalog
StartChangeSetRequest & WithCatalog(const char *value)
Definition: StartChangeSetRequest.h:83
AWSString.h
AWS_MARKETPLACECATALOG_API
#define AWS_MARKETPLACECATALOG_API
Definition: MarketplaceCatalog_EXPORTS.h:28
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SetChangeSetName
void SetChangeSetName(Aws::String &&value)
Definition: StartChangeSetRequest.h:149
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::GetChangeSetName
const Aws::String & GetChangeSetName() const
Definition: StartChangeSetRequest.h:131
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartChangeSetRequest.h:199
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartChangeSetRequest.h:194
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::SetChangeSetName
void SetChangeSetName(const char *value)
Definition: StartChangeSetRequest.h:155
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::ChangeSetHasBeenSet
bool ChangeSetHasBeenSet() const
Definition: StartChangeSetRequest.h:94
Change.h
Aws::MarketplaceCatalog::Model::StartChangeSetRequest::GetCatalog
const Aws::String & GetCatalog() const
Definition: StartChangeSetRequest.h:41