AWS SDK for C++  1.9.102
AWS SDK for C++
DescribeProductAsAdminRequest.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 "DescribeProductAsAdmin"; }
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 DescribeProductAsAdminRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
78 
84  inline DescribeProductAsAdminRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
85 
91  inline DescribeProductAsAdminRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
92 
93 
97  inline const Aws::String& GetId() const{ return m_id; }
98 
102  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
103 
107  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
108 
112  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
113 
117  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
118 
122  inline DescribeProductAsAdminRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
123 
127  inline DescribeProductAsAdminRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
128 
132  inline DescribeProductAsAdminRequest& WithId(const char* value) { SetId(value); return *this;}
133 
134 
138  inline const Aws::String& GetName() const{ return m_name; }
139 
143  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
144 
148  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
149 
153  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
154 
158  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
159 
163  inline DescribeProductAsAdminRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
164 
168  inline DescribeProductAsAdminRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
169 
173  inline DescribeProductAsAdminRequest& WithName(const char* value) { SetName(value); return *this;}
174 
175 
184  inline const Aws::String& GetSourcePortfolioId() const{ return m_sourcePortfolioId; }
185 
194  inline bool SourcePortfolioIdHasBeenSet() const { return m_sourcePortfolioIdHasBeenSet; }
195 
204  inline void SetSourcePortfolioId(const Aws::String& value) { m_sourcePortfolioIdHasBeenSet = true; m_sourcePortfolioId = value; }
205 
214  inline void SetSourcePortfolioId(Aws::String&& value) { m_sourcePortfolioIdHasBeenSet = true; m_sourcePortfolioId = std::move(value); }
215 
224  inline void SetSourcePortfolioId(const char* value) { m_sourcePortfolioIdHasBeenSet = true; m_sourcePortfolioId.assign(value); }
225 
234  inline DescribeProductAsAdminRequest& WithSourcePortfolioId(const Aws::String& value) { SetSourcePortfolioId(value); return *this;}
235 
244  inline DescribeProductAsAdminRequest& WithSourcePortfolioId(Aws::String&& value) { SetSourcePortfolioId(std::move(value)); return *this;}
245 
254  inline DescribeProductAsAdminRequest& WithSourcePortfolioId(const char* value) { SetSourcePortfolioId(value); return *this;}
255 
256  private:
257 
258  Aws::String m_acceptLanguage;
259  bool m_acceptLanguageHasBeenSet;
260 
261  Aws::String m_id;
262  bool m_idHasBeenSet;
263 
264  Aws::String m_name;
265  bool m_nameHasBeenSet;
266 
267  Aws::String m_sourcePortfolioId;
268  bool m_sourcePortfolioIdHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace ServiceCatalog
273 } // namespace Aws
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DescribeProductAsAdminRequest.h:143
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithName
DescribeProductAsAdminRequest & WithName(const Aws::String &value)
Definition: DescribeProductAsAdminRequest.h:163
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithSourcePortfolioId
DescribeProductAsAdminRequest & WithSourcePortfolioId(Aws::String &&value)
Definition: DescribeProductAsAdminRequest.h:244
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetName
void SetName(const Aws::String &value)
Definition: DescribeProductAsAdminRequest.h:148
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetId
void SetId(Aws::String &&value)
Definition: DescribeProductAsAdminRequest.h:112
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: DescribeProductAsAdminRequest.h:42
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: DescribeProductAsAdminRequest.h:49
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetSourcePortfolioId
void SetSourcePortfolioId(Aws::String &&value)
Definition: DescribeProductAsAdminRequest.h:214
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::GetSourcePortfolioId
const Aws::String & GetSourcePortfolioId() const
Definition: DescribeProductAsAdminRequest.h:184
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::GetName
const Aws::String & GetName() const
Definition: DescribeProductAsAdminRequest.h:138
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SourcePortfolioIdHasBeenSet
bool SourcePortfolioIdHasBeenSet() const
Definition: DescribeProductAsAdminRequest.h:194
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithId
DescribeProductAsAdminRequest & WithId(const Aws::String &value)
Definition: DescribeProductAsAdminRequest.h:122
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetId
void SetId(const char *value)
Definition: DescribeProductAsAdminRequest.h:117
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest
Definition: DescribeProductAsAdminRequest.h:22
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetSourcePortfolioId
void SetSourcePortfolioId(const Aws::String &value)
Definition: DescribeProductAsAdminRequest.h:204
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithAcceptLanguage
DescribeProductAsAdminRequest & WithAcceptLanguage(const char *value)
Definition: DescribeProductAsAdminRequest.h:91
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithName
DescribeProductAsAdminRequest & WithName(const char *value)
Definition: DescribeProductAsAdminRequest.h:173
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetName
void SetName(Aws::String &&value)
Definition: DescribeProductAsAdminRequest.h:153
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::GetId
const Aws::String & GetId() const
Definition: DescribeProductAsAdminRequest.h:97
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithId
DescribeProductAsAdminRequest & WithId(const char *value)
Definition: DescribeProductAsAdminRequest.h:132
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: DescribeProductAsAdminRequest.h:63
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithAcceptLanguage
DescribeProductAsAdminRequest & WithAcceptLanguage(Aws::String &&value)
Definition: DescribeProductAsAdminRequest.h:84
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetId
void SetId(const Aws::String &value)
Definition: DescribeProductAsAdminRequest.h:107
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithName
DescribeProductAsAdminRequest & WithName(Aws::String &&value)
Definition: DescribeProductAsAdminRequest.h:168
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::DescribeProductAsAdminRequest
DescribeProductAsAdminRequest()
AWSString.h
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithAcceptLanguage
DescribeProductAsAdminRequest & WithAcceptLanguage(const Aws::String &value)
Definition: DescribeProductAsAdminRequest.h:77
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetSourcePortfolioId
void SetSourcePortfolioId(const char *value)
Definition: DescribeProductAsAdminRequest.h:224
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithSourcePortfolioId
DescribeProductAsAdminRequest & WithSourcePortfolioId(const char *value)
Definition: DescribeProductAsAdminRequest.h:254
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithId
DescribeProductAsAdminRequest & WithId(Aws::String &&value)
Definition: DescribeProductAsAdminRequest.h:127
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: DescribeProductAsAdminRequest.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DescribeProductAsAdminRequest.h:102
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetName
void SetName(const char *value)
Definition: DescribeProductAsAdminRequest.h:158
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::WithSourcePortfolioId
DescribeProductAsAdminRequest & WithSourcePortfolioId(const Aws::String &value)
Definition: DescribeProductAsAdminRequest.h:234
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: DescribeProductAsAdminRequest.h:56
Aws::ServiceCatalog::Model::DescribeProductAsAdminRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeProductAsAdminRequest.h:30