AWS SDK for C++  1.9.103
AWS SDK for C++
DescribeAccountAttributesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Redshift
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 "DescribeAccountAttributes"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
43  inline const Aws::Vector<Aws::String>& GetAttributeNames() const{ return m_attributeNames; }
44 
48  inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
49 
53  inline void SetAttributeNames(const Aws::Vector<Aws::String>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
54 
58  inline void SetAttributeNames(Aws::Vector<Aws::String>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
59 
63  inline DescribeAccountAttributesRequest& WithAttributeNames(const Aws::Vector<Aws::String>& value) { SetAttributeNames(value); return *this;}
64 
68  inline DescribeAccountAttributesRequest& WithAttributeNames(Aws::Vector<Aws::String>&& value) { SetAttributeNames(std::move(value)); return *this;}
69 
73  inline DescribeAccountAttributesRequest& AddAttributeNames(const Aws::String& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
74 
78  inline DescribeAccountAttributesRequest& AddAttributeNames(Aws::String&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
79 
83  inline DescribeAccountAttributesRequest& AddAttributeNames(const char* value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
84 
85  private:
86 
87  Aws::Vector<Aws::String> m_attributeNames;
88  bool m_attributeNamesHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace Redshift
93 } // namespace Aws
Aws::Redshift::Model::DescribeAccountAttributesRequest::GetAttributeNames
const Aws::Vector< Aws::String > & GetAttributeNames() const
Definition: DescribeAccountAttributesRequest.h:43
Aws::Redshift::Model::DescribeAccountAttributesRequest::DescribeAccountAttributesRequest
DescribeAccountAttributesRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeAccountAttributesRequest::AttributeNamesHasBeenSet
bool AttributeNamesHasBeenSet() const
Definition: DescribeAccountAttributesRequest.h:48
Aws::Redshift::Model::DescribeAccountAttributesRequest::SetAttributeNames
void SetAttributeNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeAccountAttributesRequest.h:58
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
RedshiftRequest.h
Aws::Redshift::Model::DescribeAccountAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAccountAttributesRequest.h:31
AWSVector.h
Aws::Redshift::Model::DescribeAccountAttributesRequest::SetAttributeNames
void SetAttributeNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeAccountAttributesRequest.h:53
Aws::Redshift::Model::DescribeAccountAttributesRequest::WithAttributeNames
DescribeAccountAttributesRequest & WithAttributeNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeAccountAttributesRequest.h:63
Aws::Redshift::Model::DescribeAccountAttributesRequest::AddAttributeNames
DescribeAccountAttributesRequest & AddAttributeNames(Aws::String &&value)
Definition: DescribeAccountAttributesRequest.h:78
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeAccountAttributesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::DescribeAccountAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeAccountAttributesRequest::AddAttributeNames
DescribeAccountAttributesRequest & AddAttributeNames(const Aws::String &value)
Definition: DescribeAccountAttributesRequest.h:73
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeAccountAttributesRequest::AddAttributeNames
DescribeAccountAttributesRequest & AddAttributeNames(const char *value)
Definition: DescribeAccountAttributesRequest.h:83
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeAccountAttributesRequest
Definition: DescribeAccountAttributesRequest.h:23
Aws::Redshift::Model::DescribeAccountAttributesRequest::WithAttributeNames
DescribeAccountAttributesRequest & WithAttributeNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeAccountAttributesRequest.h:68