AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeTagsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ElasticLoadBalancing
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeTags"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::Vector<Aws::String>& GetLoadBalancerNames() const{ return m_loadBalancerNames; }
47 
51  inline bool LoadBalancerNamesHasBeenSet() const { return m_loadBalancerNamesHasBeenSet; }
52 
56  inline void SetLoadBalancerNames(const Aws::Vector<Aws::String>& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames = value; }
57 
61  inline void SetLoadBalancerNames(Aws::Vector<Aws::String>&& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames = std::move(value); }
62 
66  inline DescribeTagsRequest& WithLoadBalancerNames(const Aws::Vector<Aws::String>& value) { SetLoadBalancerNames(value); return *this;}
67 
71  inline DescribeTagsRequest& WithLoadBalancerNames(Aws::Vector<Aws::String>&& value) { SetLoadBalancerNames(std::move(value)); return *this;}
72 
76  inline DescribeTagsRequest& AddLoadBalancerNames(const Aws::String& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(value); return *this; }
77 
81  inline DescribeTagsRequest& AddLoadBalancerNames(Aws::String&& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(std::move(value)); return *this; }
82 
86  inline DescribeTagsRequest& AddLoadBalancerNames(const char* value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(value); return *this; }
87 
88  private:
89 
90  Aws::Vector<Aws::String> m_loadBalancerNames;
91  bool m_loadBalancerNamesHasBeenSet;
92  };
93 
94 } // namespace Model
95 } // namespace ElasticLoadBalancing
96 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::LoadBalancerNamesHasBeenSet
bool LoadBalancerNamesHasBeenSet() const
Definition: DescribeTagsRequest.h:51
Aws::ElasticLoadBalancing::ElasticLoadBalancingRequest
Definition: ElasticLoadBalancingRequest.h:17
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::WithLoadBalancerNames
DescribeTagsRequest & WithLoadBalancerNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeTagsRequest.h:66
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::AddLoadBalancerNames
DescribeTagsRequest & AddLoadBalancerNames(const Aws::String &value)
Definition: DescribeTagsRequest.h:76
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest
Definition: DescribeTagsRequest.h:26
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::AddLoadBalancerNames
DescribeTagsRequest & AddLoadBalancerNames(Aws::String &&value)
Definition: DescribeTagsRequest.h:81
AWSVector.h
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::WithLoadBalancerNames
DescribeTagsRequest & WithLoadBalancerNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeTagsRequest.h:71
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::SetLoadBalancerNames
void SetLoadBalancerNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeTagsRequest.h:61
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::GetLoadBalancerNames
const Aws::Vector< Aws::String > & GetLoadBalancerNames() const
Definition: DescribeTagsRequest.h:46
AWSString.h
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeTagsRequest.h:34
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::SetLoadBalancerNames
void SetLoadBalancerNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeTagsRequest.h:56
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::AddLoadBalancerNames
DescribeTagsRequest & AddLoadBalancerNames(const char *value)
Definition: DescribeTagsRequest.h:86
AWS_ELASTICLOADBALANCING_API
#define AWS_ELASTICLOADBALANCING_API
Definition: ElasticLoadBalancing_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
ElasticLoadBalancing_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticLoadBalancing::Model::DescribeTagsRequest::DescribeTagsRequest
DescribeTagsRequest()
ElasticLoadBalancingRequest.h