AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAccountAttributesRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Redshift
16{
17namespace 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_REDSHIFT_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::Vector<Aws::String>& GetAttributeNames() const{ return m_attributeNames; }
45 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
46 inline void SetAttributeNames(const Aws::Vector<Aws::String>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
47 inline void SetAttributeNames(Aws::Vector<Aws::String>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
50 inline DescribeAccountAttributesRequest& AddAttributeNames(const Aws::String& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
51 inline DescribeAccountAttributesRequest& AddAttributeNames(Aws::String&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
52 inline DescribeAccountAttributesRequest& AddAttributeNames(const char* value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
54 private:
55
56 Aws::Vector<Aws::String> m_attributeNames;
57 bool m_attributeNamesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Redshift
62} // namespace Aws
DescribeAccountAttributesRequest & WithAttributeNames(const Aws::Vector< Aws::String > &value)
DescribeAccountAttributesRequest & AddAttributeNames(const char *value)
DescribeAccountAttributesRequest & WithAttributeNames(Aws::Vector< Aws::String > &&value)
void SetAttributeNames(const Aws::Vector< Aws::String > &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeAccountAttributesRequest & AddAttributeNames(Aws::String &&value)
DescribeAccountAttributesRequest & AddAttributeNames(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector