AWS SDK for C++  1.9.16
AWS SDK for C++
GetModelTemplateResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace APIGateway
24 {
25 namespace Model
26 {
36  {
37  public:
41 
42 
49  inline const Aws::String& GetValue() const{ return m_value; }
50 
57  inline void SetValue(const Aws::String& value) { m_value = value; }
58 
65  inline void SetValue(Aws::String&& value) { m_value = std::move(value); }
66 
73  inline void SetValue(const char* value) { m_value.assign(value); }
74 
81  inline GetModelTemplateResult& WithValue(const Aws::String& value) { SetValue(value); return *this;}
82 
89  inline GetModelTemplateResult& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
90 
97  inline GetModelTemplateResult& WithValue(const char* value) { SetValue(value); return *this;}
98 
99  private:
100 
101  Aws::String m_value;
102  };
103 
104 } // namespace Model
105 } // namespace APIGateway
106 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetModelTemplateResult::SetValue
void SetValue(const Aws::String &value)
Definition: GetModelTemplateResult.h:57
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetModelTemplateResult::WithValue
GetModelTemplateResult & WithValue(const char *value)
Definition: GetModelTemplateResult.h:97
Aws::APIGateway::Model::GetModelTemplateResult::SetValue
void SetValue(Aws::String &&value)
Definition: GetModelTemplateResult.h:65
Aws::APIGateway::Model::GetModelTemplateResult
Definition: GetModelTemplateResult.h:36
Aws::APIGateway::Model::GetModelTemplateResult::operator=
GetModelTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
APIGateway_EXPORTS.h
AWSString.h
Aws::APIGateway::Model::GetModelTemplateResult::WithValue
GetModelTemplateResult & WithValue(Aws::String &&value)
Definition: GetModelTemplateResult.h:89
Aws::APIGateway::Model::GetModelTemplateResult::GetModelTemplateResult
GetModelTemplateResult()
Aws::APIGateway::Model::GetModelTemplateResult::GetModelTemplateResult
GetModelTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetModelTemplateResult::WithValue
GetModelTemplateResult & WithValue(const Aws::String &value)
Definition: GetModelTemplateResult.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetModelTemplateResult::GetValue
const Aws::String & GetValue() const
Definition: GetModelTemplateResult.h:49
Aws::APIGateway::Model::GetModelTemplateResult::SetValue
void SetValue(const char *value)
Definition: GetModelTemplateResult.h:73