AWS SDK for C++  1.9.109
AWS SDK for C++
BatchAssociateServiceActionWithProvisioningArtifactRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ServiceCatalog
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 "BatchAssociateServiceActionWithProvisioningArtifact"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
43  inline const Aws::Vector<ServiceActionAssociation>& GetServiceActionAssociations() const{ return m_serviceActionAssociations; }
44 
49  inline bool ServiceActionAssociationsHasBeenSet() const { return m_serviceActionAssociationsHasBeenSet; }
50 
55  inline void SetServiceActionAssociations(const Aws::Vector<ServiceActionAssociation>& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations = value; }
56 
61  inline void SetServiceActionAssociations(Aws::Vector<ServiceActionAssociation>&& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations = std::move(value); }
62 
68 
73  inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionAssociations(Aws::Vector<ServiceActionAssociation>&& value) { SetServiceActionAssociations(std::move(value)); return *this;}
74 
79  inline BatchAssociateServiceActionWithProvisioningArtifactRequest& AddServiceActionAssociations(const ServiceActionAssociation& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations.push_back(value); return *this; }
80 
85  inline BatchAssociateServiceActionWithProvisioningArtifactRequest& AddServiceActionAssociations(ServiceActionAssociation&& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations.push_back(std::move(value)); return *this; }
86 
87 
93  inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
94 
100  inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
101 
107  inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
108 
114  inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
115 
121  inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
122 
128  inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
129 
135  inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
136 
142  inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
143 
144  private:
145 
146  Aws::Vector<ServiceActionAssociation> m_serviceActionAssociations;
147  bool m_serviceActionAssociationsHasBeenSet;
148 
149  Aws::String m_acceptLanguage;
150  bool m_acceptLanguageHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace ServiceCatalog
155 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::WithAcceptLanguage
BatchAssociateServiceActionWithProvisioningArtifactRequest & WithAcceptLanguage(const Aws::String &value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:128
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::WithServiceActionAssociations
BatchAssociateServiceActionWithProvisioningArtifactRequest & WithServiceActionAssociations(Aws::Vector< ServiceActionAssociation > &&value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:73
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::AddServiceActionAssociations
BatchAssociateServiceActionWithProvisioningArtifactRequest & AddServiceActionAssociations(ServiceActionAssociation &&value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:85
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:32
AWSVector.h
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::WithAcceptLanguage
BatchAssociateServiceActionWithProvisioningArtifactRequest & WithAcceptLanguage(const char *value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:142
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::ServiceActionAssociationsHasBeenSet
bool ServiceActionAssociationsHasBeenSet() const
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:49
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:24
ServiceActionAssociation.h
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::WithAcceptLanguage
BatchAssociateServiceActionWithProvisioningArtifactRequest & WithAcceptLanguage(Aws::String &&value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:135
AWSString.h
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::SetServiceActionAssociations
void SetServiceActionAssociations(Aws::Vector< ServiceActionAssociation > &&value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:61
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::GetServiceActionAssociations
const Aws::Vector< ServiceActionAssociation > & GetServiceActionAssociations() const
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:43
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:93
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:100
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::AddServiceActionAssociations
BatchAssociateServiceActionWithProvisioningArtifactRequest & AddServiceActionAssociations(const ServiceActionAssociation &value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:79
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:121
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:114
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::SetServiceActionAssociations
void SetServiceActionAssociations(const Aws::Vector< ServiceActionAssociation > &value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:107
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::BatchAssociateServiceActionWithProvisioningArtifactRequest
BatchAssociateServiceActionWithProvisioningArtifactRequest()
Aws::ServiceCatalog::Model::ServiceActionAssociation
Definition: ServiceActionAssociation.h:33
Aws::ServiceCatalog::Model::BatchAssociateServiceActionWithProvisioningArtifactRequest::WithServiceActionAssociations
BatchAssociateServiceActionWithProvisioningArtifactRequest & WithServiceActionAssociations(const Aws::Vector< ServiceActionAssociation > &value)
Definition: BatchAssociateServiceActionWithProvisioningArtifactRequest.h:67