AWS SDK for C++  1.9.109
AWS SDK for C++
ListProvisioningArtifactsRequest.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 "ListProvisioningArtifacts"; }
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 ListProvisioningArtifactsRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
78 
84  inline ListProvisioningArtifactsRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
85 
91  inline ListProvisioningArtifactsRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
92 
93 
97  inline const Aws::String& GetProductId() const{ return m_productId; }
98 
102  inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
103 
107  inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
108 
112  inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
113 
117  inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
118 
122  inline ListProvisioningArtifactsRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
123 
127  inline ListProvisioningArtifactsRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
128 
132  inline ListProvisioningArtifactsRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
133 
134  private:
135 
136  Aws::String m_acceptLanguage;
137  bool m_acceptLanguageHasBeenSet;
138 
139  Aws::String m_productId;
140  bool m_productIdHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace ServiceCatalog
145 } // namespace Aws
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::WithProductId
ListProvisioningArtifactsRequest & WithProductId(const char *value)
Definition: ListProvisioningArtifactsRequest.h:132
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest
Definition: ListProvisioningArtifactsRequest.h:22
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::WithAcceptLanguage
ListProvisioningArtifactsRequest & WithAcceptLanguage(const char *value)
Definition: ListProvisioningArtifactsRequest.h:91
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::WithProductId
ListProvisioningArtifactsRequest & WithProductId(Aws::String &&value)
Definition: ListProvisioningArtifactsRequest.h:127
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: ListProvisioningArtifactsRequest.h:63
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: ListProvisioningArtifactsRequest.h:42
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::SetProductId
void SetProductId(Aws::String &&value)
Definition: ListProvisioningArtifactsRequest.h:112
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: ListProvisioningArtifactsRequest.h:56
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::SetProductId
void SetProductId(const Aws::String &value)
Definition: ListProvisioningArtifactsRequest.h:107
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: ListProvisioningArtifactsRequest.h:70
AWSString.h
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: ListProvisioningArtifactsRequest.h:49
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::WithProductId
ListProvisioningArtifactsRequest & WithProductId(const Aws::String &value)
Definition: ListProvisioningArtifactsRequest.h:122
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::WithAcceptLanguage
ListProvisioningArtifactsRequest & WithAcceptLanguage(const Aws::String &value)
Definition: ListProvisioningArtifactsRequest.h:77
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::ProductIdHasBeenSet
bool ProductIdHasBeenSet() const
Definition: ListProvisioningArtifactsRequest.h:102
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListProvisioningArtifactsRequest.h:30
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::WithAcceptLanguage
ListProvisioningArtifactsRequest & WithAcceptLanguage(Aws::String &&value)
Definition: ListProvisioningArtifactsRequest.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::SetProductId
void SetProductId(const char *value)
Definition: ListProvisioningArtifactsRequest.h:117
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::ListProvisioningArtifactsRequest
ListProvisioningArtifactsRequest()
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::ListProvisioningArtifactsRequest::GetProductId
const Aws::String & GetProductId() const
Definition: ListProvisioningArtifactsRequest.h:97