AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeConfigurationsRequest.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 "DescribeConfigurations"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::Vector<Aws::String>& GetConfigurationIds() const{ return m_configurationIds; }
42 
46  inline bool ConfigurationIdsHasBeenSet() const { return m_configurationIdsHasBeenSet; }
47 
51  inline void SetConfigurationIds(const Aws::Vector<Aws::String>& value) { m_configurationIdsHasBeenSet = true; m_configurationIds = value; }
52 
56  inline void SetConfigurationIds(Aws::Vector<Aws::String>&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds = std::move(value); }
57 
61  inline DescribeConfigurationsRequest& WithConfigurationIds(const Aws::Vector<Aws::String>& value) { SetConfigurationIds(value); return *this;}
62 
66  inline DescribeConfigurationsRequest& WithConfigurationIds(Aws::Vector<Aws::String>&& value) { SetConfigurationIds(std::move(value)); return *this;}
67 
71  inline DescribeConfigurationsRequest& AddConfigurationIds(const Aws::String& value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(value); return *this; }
72 
76  inline DescribeConfigurationsRequest& AddConfigurationIds(Aws::String&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(std::move(value)); return *this; }
77 
81  inline DescribeConfigurationsRequest& AddConfigurationIds(const char* value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(value); return *this; }
82 
83  private:
84 
85  Aws::Vector<Aws::String> m_configurationIds;
86  bool m_configurationIdsHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace ApplicationDiscoveryService
91 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::SetConfigurationIds
void SetConfigurationIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeConfigurationsRequest.h:56
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::WithConfigurationIds
DescribeConfigurationsRequest & WithConfigurationIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeConfigurationsRequest.h:66
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::DescribeConfigurationsRequest
DescribeConfigurationsRequest()
ApplicationDiscoveryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::GetConfigurationIds
const Aws::Vector< Aws::String > & GetConfigurationIds() const
Definition: DescribeConfigurationsRequest.h:41
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::AddConfigurationIds
DescribeConfigurationsRequest & AddConfigurationIds(Aws::String &&value)
Definition: DescribeConfigurationsRequest.h:76
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::AddConfigurationIds
DescribeConfigurationsRequest & AddConfigurationIds(const char *value)
Definition: DescribeConfigurationsRequest.h:81
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::WithConfigurationIds
DescribeConfigurationsRequest & WithConfigurationIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeConfigurationsRequest.h:61
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::ConfigurationIdsHasBeenSet
bool ConfigurationIdsHasBeenSet() const
Definition: DescribeConfigurationsRequest.h:46
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::AddConfigurationIds
DescribeConfigurationsRequest & AddConfigurationIds(const Aws::String &value)
Definition: DescribeConfigurationsRequest.h:71
ApplicationDiscoveryServiceRequest.h
Aws::ApplicationDiscoveryService::ApplicationDiscoveryServiceRequest
Definition: ApplicationDiscoveryServiceRequest.h:17
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeConfigurationsRequest.h:31
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest
Definition: DescribeConfigurationsRequest.h:23
Aws::ApplicationDiscoveryService::Model::DescribeConfigurationsRequest::SetConfigurationIds
void SetConfigurationIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeConfigurationsRequest.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28