AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeHsmClientCertificatesRequest.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& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; }
43 
49  inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
50 
56  inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
57 
63  inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); }
64 
70  inline DescribeHsmClientCertificatesRequest& WithHsmClientCertificateIdentifier(const Aws::String& value) { SetHsmClientCertificateIdentifier(value); return *this;}
71 
77  inline DescribeHsmClientCertificatesRequest& WithHsmClientCertificateIdentifier(Aws::String&& value) { SetHsmClientCertificateIdentifier(value); return *this;}
78 
84  inline DescribeHsmClientCertificatesRequest& WithHsmClientCertificateIdentifier(const char* value) { SetHsmClientCertificateIdentifier(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 DescribeHsmClientCertificatesRequest& 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 DescribeHsmClientCertificatesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
165 
174  inline DescribeHsmClientCertificatesRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
175 
184  inline DescribeHsmClientCertificatesRequest& 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 DescribeHsmClientCertificatesRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
229 
239  inline DescribeHsmClientCertificatesRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(value); return *this;}
240 
250  inline DescribeHsmClientCertificatesRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
251 
261  inline DescribeHsmClientCertificatesRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
262 
272  inline DescribeHsmClientCertificatesRequest& 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 DescribeHsmClientCertificatesRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
317 
327  inline DescribeHsmClientCertificatesRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(value); return *this;}
328 
338  inline DescribeHsmClientCertificatesRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
339 
349  inline DescribeHsmClientCertificatesRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
350 
360  inline DescribeHsmClientCertificatesRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
361 
362  private:
363  Aws::String m_hsmClientCertificateIdentifier;
364  bool m_hsmClientCertificateIdentifierHasBeenSet;
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
DescribeHsmClientCertificatesRequest & WithMarker(Aws::String &&value)
DescribeHsmClientCertificatesRequest & AddTagKeys(Aws::String &&value)
DescribeHsmClientCertificatesRequest & AddTagKeys(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeHsmClientCertificatesRequest & AddTagValues(const char *value)
DescribeHsmClientCertificatesRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
#define AWS_REDSHIFT_API
DescribeHsmClientCertificatesRequest & AddTagKeys(const Aws::String &value)
DescribeHsmClientCertificatesRequest & WithMarker(const Aws::String &value)
DescribeHsmClientCertificatesRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeHsmClientCertificatesRequest & WithHsmClientCertificateIdentifier(const Aws::String &value)
DescribeHsmClientCertificatesRequest & WithMarker(const char *value)
DescribeHsmClientCertificatesRequest & AddTagValues(const Aws::String &value)
DescribeHsmClientCertificatesRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeHsmClientCertificatesRequest & AddTagValues(Aws::String &&value)
DescribeHsmClientCertificatesRequest & WithHsmClientCertificateIdentifier(const char *value)
DescribeHsmClientCertificatesRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeHsmClientCertificatesRequest & WithHsmClientCertificateIdentifier(Aws::String &&value)
JSON (JavaScript Object Notation).