AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeHsmConfigurationsRequest.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 
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::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
48  inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
49 
55  inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
56 
62  inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
63 
69  inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
70 
76  inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
77 
83  inline DescribeHsmConfigurationsRequest& WithHsmConfigurationIdentifier(const Aws::String& value) { SetHsmConfigurationIdentifier(value); return *this;}
84 
90  inline DescribeHsmConfigurationsRequest& WithHsmConfigurationIdentifier(Aws::String&& value) { SetHsmConfigurationIdentifier(std::move(value)); return *this;}
91 
97  inline DescribeHsmConfigurationsRequest& WithHsmConfigurationIdentifier(const char* value) { SetHsmConfigurationIdentifier(value); return *this;}
98 
99 
108  inline int GetMaxRecords() const{ return m_maxRecords; }
109 
118  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
119 
128  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
129 
138  inline DescribeHsmConfigurationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
139 
140 
149  inline const Aws::String& GetMarker() const{ return m_marker; }
150 
159  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
160 
169  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
170 
179  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
180 
189  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
190 
199  inline DescribeHsmConfigurationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
200 
209  inline DescribeHsmConfigurationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
210 
219  inline DescribeHsmConfigurationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
220 
221 
231  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
232 
242  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
243 
253  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
254 
264  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
265 
275  inline DescribeHsmConfigurationsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
276 
286  inline DescribeHsmConfigurationsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
287 
297  inline DescribeHsmConfigurationsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
298 
308  inline DescribeHsmConfigurationsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
309 
319  inline DescribeHsmConfigurationsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
320 
321 
331  inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
332 
342  inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
343 
353  inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
354 
364  inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
365 
375  inline DescribeHsmConfigurationsRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
376 
386  inline DescribeHsmConfigurationsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
387 
397  inline DescribeHsmConfigurationsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
398 
408  inline DescribeHsmConfigurationsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
409 
419  inline DescribeHsmConfigurationsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
420 
421  private:
422 
423  Aws::String m_hsmConfigurationIdentifier;
424  bool m_hsmConfigurationIdentifierHasBeenSet;
425 
426  int m_maxRecords;
427  bool m_maxRecordsHasBeenSet;
428 
429  Aws::String m_marker;
430  bool m_markerHasBeenSet;
431 
432  Aws::Vector<Aws::String> m_tagKeys;
433  bool m_tagKeysHasBeenSet;
434 
435  Aws::Vector<Aws::String> m_tagValues;
436  bool m_tagValuesHasBeenSet;
437  };
438 
439 } // namespace Model
440 } // namespace Redshift
441 } // namespace Aws
DescribeHsmConfigurationsRequest & WithMaxRecords(int value)
DescribeHsmConfigurationsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeHsmConfigurationsRequest & WithHsmConfigurationIdentifier(const char *value)
DescribeHsmConfigurationsRequest & WithMarker(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeHsmConfigurationsRequest & WithHsmConfigurationIdentifier(const Aws::String &value)
DescribeHsmConfigurationsRequest & WithMarker(const Aws::String &value)
DescribeHsmConfigurationsRequest & WithHsmConfigurationIdentifier(Aws::String &&value)
DescribeHsmConfigurationsRequest & WithMarker(Aws::String &&value)
DescribeHsmConfigurationsRequest & AddTagKeys(const char *value)
#define AWS_REDSHIFT_API
DescribeHsmConfigurationsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeHsmConfigurationsRequest & AddTagValues(Aws::String &&value)
DescribeHsmConfigurationsRequest & AddTagKeys(const Aws::String &value)
DescribeHsmConfigurationsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeHsmConfigurationsRequest & AddTagValues(const char *value)
DescribeHsmConfigurationsRequest & AddTagKeys(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeHsmConfigurationsRequest & AddTagValues(const Aws::String &value)
DescribeHsmConfigurationsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)