AWS SDK for C++  0.14.3
AWS SDK for C++
GetConfigRequest.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
21 
22 namespace Aws
23 {
24 namespace CloudHSM
25 {
26 namespace Model
27 {
28 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
42  inline const Aws::String& GetClientArn() const{ return m_clientArn; }
43 
47  inline void SetClientArn(const Aws::String& value) { m_clientArnHasBeenSet = true; m_clientArn = value; }
48 
52  inline void SetClientArn(Aws::String&& value) { m_clientArnHasBeenSet = true; m_clientArn = value; }
53 
57  inline void SetClientArn(const char* value) { m_clientArnHasBeenSet = true; m_clientArn.assign(value); }
58 
62  inline GetConfigRequest& WithClientArn(const Aws::String& value) { SetClientArn(value); return *this;}
63 
67  inline GetConfigRequest& WithClientArn(Aws::String&& value) { SetClientArn(value); return *this;}
68 
72  inline GetConfigRequest& WithClientArn(const char* value) { SetClientArn(value); return *this;}
73 
77  inline const ClientVersion& GetClientVersion() const{ return m_clientVersion; }
78 
82  inline void SetClientVersion(const ClientVersion& value) { m_clientVersionHasBeenSet = true; m_clientVersion = value; }
83 
87  inline void SetClientVersion(ClientVersion&& value) { m_clientVersionHasBeenSet = true; m_clientVersion = value; }
88 
92  inline GetConfigRequest& WithClientVersion(const ClientVersion& value) { SetClientVersion(value); return *this;}
93 
97  inline GetConfigRequest& WithClientVersion(ClientVersion&& value) { SetClientVersion(value); return *this;}
98 
103  inline const Aws::Vector<Aws::String>& GetHapgList() const{ return m_hapgList; }
104 
109  inline void SetHapgList(const Aws::Vector<Aws::String>& value) { m_hapgListHasBeenSet = true; m_hapgList = value; }
110 
115  inline void SetHapgList(Aws::Vector<Aws::String>&& value) { m_hapgListHasBeenSet = true; m_hapgList = value; }
116 
121  inline GetConfigRequest& WithHapgList(const Aws::Vector<Aws::String>& value) { SetHapgList(value); return *this;}
122 
127  inline GetConfigRequest& WithHapgList(Aws::Vector<Aws::String>&& value) { SetHapgList(value); return *this;}
128 
133  inline GetConfigRequest& AddHapgList(const Aws::String& value) { m_hapgListHasBeenSet = true; m_hapgList.push_back(value); return *this; }
134 
139  inline GetConfigRequest& AddHapgList(Aws::String&& value) { m_hapgListHasBeenSet = true; m_hapgList.push_back(value); return *this; }
140 
145  inline GetConfigRequest& AddHapgList(const char* value) { m_hapgListHasBeenSet = true; m_hapgList.push_back(value); return *this; }
146 
147  private:
148  Aws::String m_clientArn;
149  bool m_clientArnHasBeenSet;
150  ClientVersion m_clientVersion;
151  bool m_clientVersionHasBeenSet;
152  Aws::Vector<Aws::String> m_hapgList;
153  bool m_hapgListHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace CloudHSM
158 } // namespace Aws
const Aws::String & GetClientArn() const
GetConfigRequest & AddHapgList(const char *value)
GetConfigRequest & WithClientArn(const char *value)
void SetHapgList(const Aws::Vector< Aws::String > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
GetConfigRequest & AddHapgList(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
GetConfigRequest & WithHapgList(Aws::Vector< Aws::String > &&value)
GetConfigRequest & WithClientVersion(const ClientVersion &value)
#define AWS_CLOUDHSM_API
void SetClientArn(Aws::String &&value)
GetConfigRequest & WithClientArn(Aws::String &&value)
GetConfigRequest & WithClientVersion(ClientVersion &&value)
GetConfigRequest & WithHapgList(const Aws::Vector< Aws::String > &value)
void SetClientArn(const Aws::String &value)
void SetClientVersion(const ClientVersion &value)
const ClientVersion & GetClientVersion() const
void SetHapgList(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetHapgList() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetConfigRequest & WithClientArn(const Aws::String &value)
GetConfigRequest & AddHapgList(const Aws::String &value)
JSON (JavaScript Object Notation).
void SetClientVersion(ClientVersion &&value)