AWS SDK for C++  1.9.18
AWS SDK for C++
CreateDocumentationVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace APIGateway
25 {
26 namespace Model
27 {
41  {
42  public:
46 
47 
51  inline const Aws::String& GetVersion() const{ return m_version; }
52 
56  inline void SetVersion(const Aws::String& value) { m_version = value; }
57 
61  inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
62 
66  inline void SetVersion(const char* value) { m_version.assign(value); }
67 
71  inline CreateDocumentationVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
72 
76  inline CreateDocumentationVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
77 
81  inline CreateDocumentationVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
82 
83 
87  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
88 
92  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
93 
97  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
98 
102  inline CreateDocumentationVersionResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
103 
107  inline CreateDocumentationVersionResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
108 
109 
113  inline const Aws::String& GetDescription() const{ return m_description; }
114 
118  inline void SetDescription(const Aws::String& value) { m_description = value; }
119 
123  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
124 
128  inline void SetDescription(const char* value) { m_description.assign(value); }
129 
133  inline CreateDocumentationVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
134 
138  inline CreateDocumentationVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
139 
143  inline CreateDocumentationVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
144 
145  private:
146 
147  Aws::String m_version;
148 
149  Aws::Utils::DateTime m_createdDate;
150 
151  Aws::String m_description;
152  };
153 
154 } // namespace Model
155 } // namespace APIGateway
156 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::CreateDocumentationVersionResult::GetVersion
const Aws::String & GetVersion() const
Definition: CreateDocumentationVersionResult.h:51
Aws::APIGateway::Model::CreateDocumentationVersionResult::CreateDocumentationVersionResult
CreateDocumentationVersionResult()
Aws::APIGateway::Model::CreateDocumentationVersionResult::WithDescription
CreateDocumentationVersionResult & WithDescription(const Aws::String &value)
Definition: CreateDocumentationVersionResult.h:133
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
DateTime.h
APIGateway_EXPORTS.h
Aws::APIGateway::Model::CreateDocumentationVersionResult::operator=
CreateDocumentationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::CreateDocumentationVersionResult::SetDescription
void SetDescription(const char *value)
Definition: CreateDocumentationVersionResult.h:128
Aws::APIGateway::Model::CreateDocumentationVersionResult::GetDescription
const Aws::String & GetDescription() const
Definition: CreateDocumentationVersionResult.h:113
Aws::APIGateway::Model::CreateDocumentationVersionResult::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: CreateDocumentationVersionResult.h:92
Aws::APIGateway::Model::CreateDocumentationVersionResult::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: CreateDocumentationVersionResult.h:97
Aws::APIGateway::Model::CreateDocumentationVersionResult::WithDescription
CreateDocumentationVersionResult & WithDescription(Aws::String &&value)
Definition: CreateDocumentationVersionResult.h:138
Aws::APIGateway::Model::CreateDocumentationVersionResult::WithVersion
CreateDocumentationVersionResult & WithVersion(Aws::String &&value)
Definition: CreateDocumentationVersionResult.h:76
Aws::APIGateway::Model::CreateDocumentationVersionResult::CreateDocumentationVersionResult
CreateDocumentationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::CreateDocumentationVersionResult::WithVersion
CreateDocumentationVersionResult & WithVersion(const char *value)
Definition: CreateDocumentationVersionResult.h:81
Aws::APIGateway::Model::CreateDocumentationVersionResult::SetVersion
void SetVersion(const Aws::String &value)
Definition: CreateDocumentationVersionResult.h:56
Aws::APIGateway::Model::CreateDocumentationVersionResult::SetVersion
void SetVersion(const char *value)
Definition: CreateDocumentationVersionResult.h:66
Aws::APIGateway::Model::CreateDocumentationVersionResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateDocumentationVersionResult.h:118
Aws::APIGateway::Model::CreateDocumentationVersionResult::WithCreatedDate
CreateDocumentationVersionResult & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: CreateDocumentationVersionResult.h:102
AWSString.h
Aws::APIGateway::Model::CreateDocumentationVersionResult::WithVersion
CreateDocumentationVersionResult & WithVersion(const Aws::String &value)
Definition: CreateDocumentationVersionResult.h:71
Aws::APIGateway::Model::CreateDocumentationVersionResult::WithCreatedDate
CreateDocumentationVersionResult & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: CreateDocumentationVersionResult.h:107
Aws::APIGateway::Model::CreateDocumentationVersionResult::SetVersion
void SetVersion(Aws::String &&value)
Definition: CreateDocumentationVersionResult.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::CreateDocumentationVersionResult
Definition: CreateDocumentationVersionResult.h:41
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::CreateDocumentationVersionResult::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: CreateDocumentationVersionResult.h:87
Aws::APIGateway::Model::CreateDocumentationVersionResult::WithDescription
CreateDocumentationVersionResult & WithDescription(const char *value)
Definition: CreateDocumentationVersionResult.h:143
Aws::APIGateway::Model::CreateDocumentationVersionResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateDocumentationVersionResult.h:123