AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeHsmConfigurationsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace Redshift
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
42  inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
43 
49  inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
50 
56  inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
57 
63  inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
64 
70  inline DescribeHsmConfigurationsRequest& WithHsmConfigurationIdentifier(const Aws::String& value) { SetHsmConfigurationIdentifier(value); return *this;}
71 
77  inline DescribeHsmConfigurationsRequest& WithHsmConfigurationIdentifier(Aws::String&& value) { SetHsmConfigurationIdentifier(value); return *this;}
78 
84  inline DescribeHsmConfigurationsRequest& WithHsmConfigurationIdentifier(const char* value) { SetHsmConfigurationIdentifier(value); return *this;}
85 
94  inline int GetMaxRecords() const{ return m_maxRecords; }
95 
104  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
105 
114  inline DescribeHsmConfigurationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
115 
124  inline const Aws::String& GetMarker() const{ return m_marker; }
125 
134  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
135 
144  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
145 
154  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
155 
164  inline DescribeHsmConfigurationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
165 
174  inline DescribeHsmConfigurationsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
175 
184  inline DescribeHsmConfigurationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
185 
195  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
196 
206  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
207 
217  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
218 
228  inline DescribeHsmConfigurationsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
229 
239  inline DescribeHsmConfigurationsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(value); return *this;}
240 
250  inline DescribeHsmConfigurationsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
251 
261  inline DescribeHsmConfigurationsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
262 
272  inline DescribeHsmConfigurationsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
273 
283  inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
284 
294  inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
295 
305  inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
306 
316  inline DescribeHsmConfigurationsRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
317 
327  inline DescribeHsmConfigurationsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(value); return *this;}
328 
338  inline DescribeHsmConfigurationsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
339 
349  inline DescribeHsmConfigurationsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
350 
360  inline DescribeHsmConfigurationsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
361 
362  private:
363  Aws::String m_hsmConfigurationIdentifier;
364  bool m_hsmConfigurationIdentifierHasBeenSet;
365  int m_maxRecords;
366  bool m_maxRecordsHasBeenSet;
367  Aws::String m_marker;
368  bool m_markerHasBeenSet;
369  Aws::Vector<Aws::String> m_tagKeys;
370  bool m_tagKeysHasBeenSet;
371  Aws::Vector<Aws::String> m_tagValues;
372  bool m_tagValuesHasBeenSet;
373  };
374 
375 } // namespace Model
376 } // namespace Redshift
377 } // 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:27
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)
JSON (JavaScript Object Notation).