AWS SDK for C++  1.9.157
AWS SDK for C++
UpdatePortfolioShareRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ServiceCatalog
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdatePortfolioShare"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
44 
50  inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
51 
57  inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
58 
64  inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
65 
71  inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
72 
78  inline UpdatePortfolioShareRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
79 
85  inline UpdatePortfolioShareRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
86 
92  inline UpdatePortfolioShareRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
93 
94 
99  inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
100 
105  inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
106 
111  inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
112 
117  inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
118 
123  inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
124 
129  inline UpdatePortfolioShareRequest& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
130 
135  inline UpdatePortfolioShareRequest& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
136 
141  inline UpdatePortfolioShareRequest& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
142 
143 
148  inline const Aws::String& GetAccountId() const{ return m_accountId; }
149 
154  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
155 
160  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
161 
166  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
167 
172  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
173 
178  inline UpdatePortfolioShareRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
179 
184  inline UpdatePortfolioShareRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
185 
190  inline UpdatePortfolioShareRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
191 
192 
193 
194  inline const OrganizationNode& GetOrganizationNode() const{ return m_organizationNode; }
195 
196 
197  inline bool OrganizationNodeHasBeenSet() const { return m_organizationNodeHasBeenSet; }
198 
199 
200  inline void SetOrganizationNode(const OrganizationNode& value) { m_organizationNodeHasBeenSet = true; m_organizationNode = value; }
201 
202 
203  inline void SetOrganizationNode(OrganizationNode&& value) { m_organizationNodeHasBeenSet = true; m_organizationNode = std::move(value); }
204 
205 
206  inline UpdatePortfolioShareRequest& WithOrganizationNode(const OrganizationNode& value) { SetOrganizationNode(value); return *this;}
207 
208 
209  inline UpdatePortfolioShareRequest& WithOrganizationNode(OrganizationNode&& value) { SetOrganizationNode(std::move(value)); return *this;}
210 
211 
217  inline bool GetShareTagOptions() const{ return m_shareTagOptions; }
218 
224  inline bool ShareTagOptionsHasBeenSet() const { return m_shareTagOptionsHasBeenSet; }
225 
231  inline void SetShareTagOptions(bool value) { m_shareTagOptionsHasBeenSet = true; m_shareTagOptions = value; }
232 
238  inline UpdatePortfolioShareRequest& WithShareTagOptions(bool value) { SetShareTagOptions(value); return *this;}
239 
240  private:
241 
242  Aws::String m_acceptLanguage;
243  bool m_acceptLanguageHasBeenSet;
244 
245  Aws::String m_portfolioId;
246  bool m_portfolioIdHasBeenSet;
247 
248  Aws::String m_accountId;
249  bool m_accountIdHasBeenSet;
250 
251  OrganizationNode m_organizationNode;
252  bool m_organizationNodeHasBeenSet;
253 
254  bool m_shareTagOptions;
255  bool m_shareTagOptionsHasBeenSet;
256  };
257 
258 } // namespace Model
259 } // namespace ServiceCatalog
260 } // namespace Aws
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithAcceptLanguage
UpdatePortfolioShareRequest & WithAcceptLanguage(Aws::String &&value)
Definition: UpdatePortfolioShareRequest.h:85
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithPortfolioId
UpdatePortfolioShareRequest & WithPortfolioId(Aws::String &&value)
Definition: UpdatePortfolioShareRequest.h:135
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetPortfolioId
void SetPortfolioId(const Aws::String &value)
Definition: UpdatePortfolioShareRequest.h:111
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: UpdatePortfolioShareRequest.h:57
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::OrganizationNodeHasBeenSet
bool OrganizationNodeHasBeenSet() const
Definition: UpdatePortfolioShareRequest.h:197
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest
Definition: UpdatePortfolioShareRequest.h:23
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetPortfolioId
void SetPortfolioId(Aws::String &&value)
Definition: UpdatePortfolioShareRequest.h:117
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithAcceptLanguage
UpdatePortfolioShareRequest & WithAcceptLanguage(const Aws::String &value)
Definition: UpdatePortfolioShareRequest.h:78
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithPortfolioId
UpdatePortfolioShareRequest & WithPortfolioId(const Aws::String &value)
Definition: UpdatePortfolioShareRequest.h:129
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: UpdatePortfolioShareRequest.h:64
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: UpdatePortfolioShareRequest.h:71
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: UpdatePortfolioShareRequest.h:148
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithAcceptLanguage
UpdatePortfolioShareRequest & WithAcceptLanguage(const char *value)
Definition: UpdatePortfolioShareRequest.h:92
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: UpdatePortfolioShareRequest.h:50
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithAccountId
UpdatePortfolioShareRequest & WithAccountId(const Aws::String &value)
Definition: UpdatePortfolioShareRequest.h:178
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::GetPortfolioId
const Aws::String & GetPortfolioId() const
Definition: UpdatePortfolioShareRequest.h:99
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithShareTagOptions
UpdatePortfolioShareRequest & WithShareTagOptions(bool value)
Definition: UpdatePortfolioShareRequest.h:238
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::ShareTagOptionsHasBeenSet
bool ShareTagOptionsHasBeenSet() const
Definition: UpdatePortfolioShareRequest.h:224
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithPortfolioId
UpdatePortfolioShareRequest & WithPortfolioId(const char *value)
Definition: UpdatePortfolioShareRequest.h:141
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: UpdatePortfolioShareRequest.h:43
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetShareTagOptions
void SetShareTagOptions(bool value)
Definition: UpdatePortfolioShareRequest.h:231
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetAccountId
void SetAccountId(const char *value)
Definition: UpdatePortfolioShareRequest.h:172
AWSString.h
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithOrganizationNode
UpdatePortfolioShareRequest & WithOrganizationNode(const OrganizationNode &value)
Definition: UpdatePortfolioShareRequest.h:206
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithAccountId
UpdatePortfolioShareRequest & WithAccountId(Aws::String &&value)
Definition: UpdatePortfolioShareRequest.h:184
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::GetOrganizationNode
const OrganizationNode & GetOrganizationNode() const
Definition: UpdatePortfolioShareRequest.h:194
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetPortfolioId
void SetPortfolioId(const char *value)
Definition: UpdatePortfolioShareRequest.h:123
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::UpdatePortfolioShareRequest
UpdatePortfolioShareRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetOrganizationNode
void SetOrganizationNode(OrganizationNode &&value)
Definition: UpdatePortfolioShareRequest.h:203
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithAccountId
UpdatePortfolioShareRequest & WithAccountId(const char *value)
Definition: UpdatePortfolioShareRequest.h:190
Aws::ServiceCatalog::Model::OrganizationNode
Definition: OrganizationNode.h:33
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::WithOrganizationNode
UpdatePortfolioShareRequest & WithOrganizationNode(OrganizationNode &&value)
Definition: UpdatePortfolioShareRequest.h:209
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: UpdatePortfolioShareRequest.h:166
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetOrganizationNode
void SetOrganizationNode(const OrganizationNode &value)
Definition: UpdatePortfolioShareRequest.h:200
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: UpdatePortfolioShareRequest.h:160
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::PortfolioIdHasBeenSet
bool PortfolioIdHasBeenSet() const
Definition: UpdatePortfolioShareRequest.h:105
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: UpdatePortfolioShareRequest.h:154
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdatePortfolioShareRequest.h:31
Aws::ServiceCatalog::Model::UpdatePortfolioShareRequest::GetShareTagOptions
bool GetShareTagOptions() const
Definition: UpdatePortfolioShareRequest.h:217
OrganizationNode.h