AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeHsmConfigurationsRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Redshift
16{
17namespace 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 "DescribeHsmConfigurations"; }
35
36 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
49 inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
50 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
51 inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
52 inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
53 inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
58
60
68 inline int GetMaxRecords() const{ return m_maxRecords; }
69 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
70 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
71 inline DescribeHsmConfigurationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
73
75
83 inline const Aws::String& GetMarker() const{ return m_marker; }
84 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
85 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
86 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
87 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
88 inline DescribeHsmConfigurationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
89 inline DescribeHsmConfigurationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
90 inline DescribeHsmConfigurationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
92
94
103 inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
104 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
105 inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
106 inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
108 inline DescribeHsmConfigurationsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
109 inline DescribeHsmConfigurationsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
110 inline DescribeHsmConfigurationsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
111 inline DescribeHsmConfigurationsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
113
115
124 inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
125 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
126 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
127 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
129 inline DescribeHsmConfigurationsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
130 inline DescribeHsmConfigurationsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
131 inline DescribeHsmConfigurationsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
132 inline DescribeHsmConfigurationsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
134 private:
135
136 Aws::String m_hsmConfigurationIdentifier;
137 bool m_hsmConfigurationIdentifierHasBeenSet = false;
138
139 int m_maxRecords;
140 bool m_maxRecordsHasBeenSet = false;
141
142 Aws::String m_marker;
143 bool m_markerHasBeenSet = false;
144
145 Aws::Vector<Aws::String> m_tagKeys;
146 bool m_tagKeysHasBeenSet = false;
147
148 Aws::Vector<Aws::String> m_tagValues;
149 bool m_tagValuesHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Redshift
154} // namespace Aws
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeHsmConfigurationsRequest & WithHsmConfigurationIdentifier(Aws::String &&value)
DescribeHsmConfigurationsRequest & AddTagKeys(Aws::String &&value)
DescribeHsmConfigurationsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeHsmConfigurationsRequest & WithMarker(const char *value)
DescribeHsmConfigurationsRequest & AddTagKeys(const Aws::String &value)
DescribeHsmConfigurationsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeHsmConfigurationsRequest & WithMarker(const Aws::String &value)
DescribeHsmConfigurationsRequest & AddTagValues(const Aws::String &value)
DescribeHsmConfigurationsRequest & AddTagValues(const char *value)
DescribeHsmConfigurationsRequest & WithMarker(Aws::String &&value)
DescribeHsmConfigurationsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeHsmConfigurationsRequest & AddTagKeys(const char *value)
DescribeHsmConfigurationsRequest & WithHsmConfigurationIdentifier(const Aws::String &value)
DescribeHsmConfigurationsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeHsmConfigurationsRequest & WithHsmConfigurationIdentifier(const char *value)
DescribeHsmConfigurationsRequest & AddTagValues(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector