AWS SDK for C++  1.9.66
AWS SDK for C++
AssociateConfigurationItemsToApplicationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ApplicationDiscoveryService
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 "AssociateConfigurationItemsToApplication"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetApplicationConfigurationId() const{ return m_applicationConfigurationId; }
43 
48  inline bool ApplicationConfigurationIdHasBeenSet() const { return m_applicationConfigurationIdHasBeenSet; }
49 
54  inline void SetApplicationConfigurationId(const Aws::String& value) { m_applicationConfigurationIdHasBeenSet = true; m_applicationConfigurationId = value; }
55 
60  inline void SetApplicationConfigurationId(Aws::String&& value) { m_applicationConfigurationIdHasBeenSet = true; m_applicationConfigurationId = std::move(value); }
61 
66  inline void SetApplicationConfigurationId(const char* value) { m_applicationConfigurationIdHasBeenSet = true; m_applicationConfigurationId.assign(value); }
67 
72  inline AssociateConfigurationItemsToApplicationRequest& WithApplicationConfigurationId(const Aws::String& value) { SetApplicationConfigurationId(value); return *this;}
73 
78  inline AssociateConfigurationItemsToApplicationRequest& WithApplicationConfigurationId(Aws::String&& value) { SetApplicationConfigurationId(std::move(value)); return *this;}
79 
84  inline AssociateConfigurationItemsToApplicationRequest& WithApplicationConfigurationId(const char* value) { SetApplicationConfigurationId(value); return *this;}
85 
86 
90  inline const Aws::Vector<Aws::String>& GetConfigurationIds() const{ return m_configurationIds; }
91 
95  inline bool ConfigurationIdsHasBeenSet() const { return m_configurationIdsHasBeenSet; }
96 
100  inline void SetConfigurationIds(const Aws::Vector<Aws::String>& value) { m_configurationIdsHasBeenSet = true; m_configurationIds = value; }
101 
105  inline void SetConfigurationIds(Aws::Vector<Aws::String>&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds = std::move(value); }
106 
110  inline AssociateConfigurationItemsToApplicationRequest& WithConfigurationIds(const Aws::Vector<Aws::String>& value) { SetConfigurationIds(value); return *this;}
111 
115  inline AssociateConfigurationItemsToApplicationRequest& WithConfigurationIds(Aws::Vector<Aws::String>&& value) { SetConfigurationIds(std::move(value)); return *this;}
116 
120  inline AssociateConfigurationItemsToApplicationRequest& AddConfigurationIds(const Aws::String& value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(value); return *this; }
121 
125  inline AssociateConfigurationItemsToApplicationRequest& AddConfigurationIds(Aws::String&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(std::move(value)); return *this; }
126 
130  inline AssociateConfigurationItemsToApplicationRequest& AddConfigurationIds(const char* value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(value); return *this; }
131 
132  private:
133 
134  Aws::String m_applicationConfigurationId;
135  bool m_applicationConfigurationIdHasBeenSet;
136 
137  Aws::Vector<Aws::String> m_configurationIds;
138  bool m_configurationIdsHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace ApplicationDiscoveryService
143 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::AddConfigurationIds
AssociateConfigurationItemsToApplicationRequest & AddConfigurationIds(const Aws::String &value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:120
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::SetConfigurationIds
void SetConfigurationIds(Aws::Vector< Aws::String > &&value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:105
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::GetApplicationConfigurationId
const Aws::String & GetApplicationConfigurationId() const
Definition: AssociateConfigurationItemsToApplicationRequest.h:42
ApplicationDiscoveryService_EXPORTS.h
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::WithApplicationConfigurationId
AssociateConfigurationItemsToApplicationRequest & WithApplicationConfigurationId(const char *value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:84
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::WithApplicationConfigurationId
AssociateConfigurationItemsToApplicationRequest & WithApplicationConfigurationId(Aws::String &&value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:78
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::WithConfigurationIds
AssociateConfigurationItemsToApplicationRequest & WithConfigurationIds(const Aws::Vector< Aws::String > &value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:110
AWSVector.h
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::SetConfigurationIds
void SetConfigurationIds(const Aws::Vector< Aws::String > &value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:100
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::AssociateConfigurationItemsToApplicationRequest
AssociateConfigurationItemsToApplicationRequest()
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::WithApplicationConfigurationId
AssociateConfigurationItemsToApplicationRequest & WithApplicationConfigurationId(const Aws::String &value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:72
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::SetApplicationConfigurationId
void SetApplicationConfigurationId(Aws::String &&value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:60
ApplicationDiscoveryServiceRequest.h
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::AddConfigurationIds
AssociateConfigurationItemsToApplicationRequest & AddConfigurationIds(const char *value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:130
Aws::ApplicationDiscoveryService::ApplicationDiscoveryServiceRequest
Definition: ApplicationDiscoveryServiceRequest.h:17
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::SetApplicationConfigurationId
void SetApplicationConfigurationId(const char *value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:66
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::AddConfigurationIds
AssociateConfigurationItemsToApplicationRequest & AddConfigurationIds(Aws::String &&value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:125
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::GetConfigurationIds
const Aws::Vector< Aws::String > & GetConfigurationIds() const
Definition: AssociateConfigurationItemsToApplicationRequest.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::ApplicationConfigurationIdHasBeenSet
bool ApplicationConfigurationIdHasBeenSet() const
Definition: AssociateConfigurationItemsToApplicationRequest.h:48
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateConfigurationItemsToApplicationRequest.h:31
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::SetApplicationConfigurationId
void SetApplicationConfigurationId(const Aws::String &value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:54
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::ConfigurationIdsHasBeenSet
bool ConfigurationIdsHasBeenSet() const
Definition: AssociateConfigurationItemsToApplicationRequest.h:95
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest::WithConfigurationIds
AssociateConfigurationItemsToApplicationRequest & WithConfigurationIds(Aws::Vector< Aws::String > &&value)
Definition: AssociateConfigurationItemsToApplicationRequest.h:115
Aws::ApplicationDiscoveryService::Model::AssociateConfigurationItemsToApplicationRequest
Definition: AssociateConfigurationItemsToApplicationRequest.h:23
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28