AWS SDK for C++  0.12.9
AWS SDK for C++
GetConfigResult.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
18 
19 namespace Aws
20 {
21 template<typename RESULT_TYPE>
22 class AmazonWebServiceResult;
23 
24 namespace Utils
25 {
26 namespace Json
27 {
28  class JsonValue;
29 } // namespace Json
30 } // namespace Utils
31 namespace CloudHSM
32 {
33 namespace Model
34 {
36  {
37  public:
41 
45  inline const Aws::String& GetConfigType() const{ return m_configType; }
46 
50  inline void SetConfigType(const Aws::String& value) { m_configType = value; }
51 
55  inline void SetConfigType(Aws::String&& value) { m_configType = value; }
56 
60  inline void SetConfigType(const char* value) { m_configType.assign(value); }
61 
65  inline GetConfigResult& WithConfigType(const Aws::String& value) { SetConfigType(value); return *this;}
66 
70  inline GetConfigResult& WithConfigType(Aws::String&& value) { SetConfigType(value); return *this;}
71 
75  inline GetConfigResult& WithConfigType(const char* value) { SetConfigType(value); return *this;}
76 
80  inline const Aws::String& GetConfigFile() const{ return m_configFile; }
81 
85  inline void SetConfigFile(const Aws::String& value) { m_configFile = value; }
86 
90  inline void SetConfigFile(Aws::String&& value) { m_configFile = value; }
91 
95  inline void SetConfigFile(const char* value) { m_configFile.assign(value); }
96 
100  inline GetConfigResult& WithConfigFile(const Aws::String& value) { SetConfigFile(value); return *this;}
101 
105  inline GetConfigResult& WithConfigFile(Aws::String&& value) { SetConfigFile(value); return *this;}
106 
110  inline GetConfigResult& WithConfigFile(const char* value) { SetConfigFile(value); return *this;}
111 
115  inline const Aws::String& GetConfigCred() const{ return m_configCred; }
116 
120  inline void SetConfigCred(const Aws::String& value) { m_configCred = value; }
121 
125  inline void SetConfigCred(Aws::String&& value) { m_configCred = value; }
126 
130  inline void SetConfigCred(const char* value) { m_configCred.assign(value); }
131 
135  inline GetConfigResult& WithConfigCred(const Aws::String& value) { SetConfigCred(value); return *this;}
136 
140  inline GetConfigResult& WithConfigCred(Aws::String&& value) { SetConfigCred(value); return *this;}
141 
145  inline GetConfigResult& WithConfigCred(const char* value) { SetConfigCred(value); return *this;}
146 
147  private:
148  Aws::String m_configType;
149  Aws::String m_configFile;
150  Aws::String m_configCred;
151  };
152 
153 } // namespace Model
154 } // namespace CloudHSM
155 } // namespace Aws
GetConfigResult & WithConfigCred(const char *value)
GetConfigResult & WithConfigCred(const Aws::String &value)
void SetConfigType(const char *value)
void SetConfigFile(const Aws::String &value)
void SetConfigType(const Aws::String &value)
void SetConfigCred(const Aws::String &value)
#define AWS_CLOUDHSM_API
const Aws::String & GetConfigCred() const
GetConfigResult & WithConfigType(Aws::String &&value)
GetConfigResult & WithConfigFile(const Aws::String &value)
GetConfigResult & WithConfigType(const Aws::String &value)
void SetConfigFile(const char *value)
const Aws::String & GetConfigFile() const
void SetConfigFile(Aws::String &&value)
GetConfigResult & WithConfigCred(Aws::String &&value)
GetConfigResult & WithConfigType(const char *value)
const Aws::String & GetConfigType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetConfigCred(const char *value)
void SetConfigType(Aws::String &&value)
void SetConfigCred(Aws::String &&value)
GetConfigResult & WithConfigFile(Aws::String &&value)
GetConfigResult & WithConfigFile(const char *value)
JSON (JavaScript Object Notation).