AWS SDK for C++  1.9.108
AWS SDK for C++
DisassociatePrincipalFromPortfolioRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ServiceCatalog
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DisassociatePrincipalFromPortfolio"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
42  inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
43 
49  inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
50 
56  inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
57 
63  inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
64 
70  inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
71 
77  inline DisassociatePrincipalFromPortfolioRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
78 
84  inline DisassociatePrincipalFromPortfolioRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
85 
91  inline DisassociatePrincipalFromPortfolioRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
92 
93 
97  inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
98 
102  inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
103 
107  inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
108 
112  inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
113 
117  inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
118 
122  inline DisassociatePrincipalFromPortfolioRequest& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
123 
127  inline DisassociatePrincipalFromPortfolioRequest& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
128 
132  inline DisassociatePrincipalFromPortfolioRequest& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
133 
134 
138  inline const Aws::String& GetPrincipalARN() const{ return m_principalARN; }
139 
143  inline bool PrincipalARNHasBeenSet() const { return m_principalARNHasBeenSet; }
144 
148  inline void SetPrincipalARN(const Aws::String& value) { m_principalARNHasBeenSet = true; m_principalARN = value; }
149 
153  inline void SetPrincipalARN(Aws::String&& value) { m_principalARNHasBeenSet = true; m_principalARN = std::move(value); }
154 
158  inline void SetPrincipalARN(const char* value) { m_principalARNHasBeenSet = true; m_principalARN.assign(value); }
159 
163  inline DisassociatePrincipalFromPortfolioRequest& WithPrincipalARN(const Aws::String& value) { SetPrincipalARN(value); return *this;}
164 
168  inline DisassociatePrincipalFromPortfolioRequest& WithPrincipalARN(Aws::String&& value) { SetPrincipalARN(std::move(value)); return *this;}
169 
173  inline DisassociatePrincipalFromPortfolioRequest& WithPrincipalARN(const char* value) { SetPrincipalARN(value); return *this;}
174 
175  private:
176 
177  Aws::String m_acceptLanguage;
178  bool m_acceptLanguageHasBeenSet;
179 
180  Aws::String m_portfolioId;
181  bool m_portfolioIdHasBeenSet;
182 
183  Aws::String m_principalARN;
184  bool m_principalARNHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace ServiceCatalog
189 } // namespace Aws
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::SetPrincipalARN
void SetPrincipalARN(Aws::String &&value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:153
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::GetPortfolioId
const Aws::String & GetPortfolioId() const
Definition: DisassociatePrincipalFromPortfolioRequest.h:97
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::WithAcceptLanguage
DisassociatePrincipalFromPortfolioRequest & WithAcceptLanguage(Aws::String &&value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:84
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::WithPrincipalARN
DisassociatePrincipalFromPortfolioRequest & WithPrincipalARN(const char *value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:173
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::PrincipalARNHasBeenSet
bool PrincipalARNHasBeenSet() const
Definition: DisassociatePrincipalFromPortfolioRequest.h:143
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::SetPrincipalARN
void SetPrincipalARN(const Aws::String &value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:148
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:70
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::SetPortfolioId
void SetPortfolioId(Aws::String &&value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:112
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::GetPrincipalARN
const Aws::String & GetPrincipalARN() const
Definition: DisassociatePrincipalFromPortfolioRequest.h:138
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::WithPortfolioId
DisassociatePrincipalFromPortfolioRequest & WithPortfolioId(Aws::String &&value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:127
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::WithPrincipalARN
DisassociatePrincipalFromPortfolioRequest & WithPrincipalARN(const Aws::String &value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:163
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:56
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::SetPortfolioId
void SetPortfolioId(const char *value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:117
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::WithPortfolioId
DisassociatePrincipalFromPortfolioRequest & WithPortfolioId(const char *value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:132
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest
Definition: DisassociatePrincipalFromPortfolioRequest.h:22
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::SetPrincipalARN
void SetPrincipalARN(const char *value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:158
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::WithPrincipalARN
DisassociatePrincipalFromPortfolioRequest & WithPrincipalARN(Aws::String &&value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:168
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: DisassociatePrincipalFromPortfolioRequest.h:42
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociatePrincipalFromPortfolioRequest.h:30
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::SetPortfolioId
void SetPortfolioId(const Aws::String &value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:107
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::WithAcceptLanguage
DisassociatePrincipalFromPortfolioRequest & WithAcceptLanguage(const Aws::String &value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:77
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::WithPortfolioId
DisassociatePrincipalFromPortfolioRequest & WithPortfolioId(const Aws::String &value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:122
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: DisassociatePrincipalFromPortfolioRequest.h:49
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::PortfolioIdHasBeenSet
bool PortfolioIdHasBeenSet() const
Definition: DisassociatePrincipalFromPortfolioRequest.h:102
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::WithAcceptLanguage
DisassociatePrincipalFromPortfolioRequest & WithAcceptLanguage(const char *value)
Definition: DisassociatePrincipalFromPortfolioRequest.h:91
Aws::ServiceCatalog::Model::DisassociatePrincipalFromPortfolioRequest::DisassociatePrincipalFromPortfolioRequest
DisassociatePrincipalFromPortfolioRequest()