AWS SDK for C++  1.9.153
AWS SDK for C++
UpdateDocumentationVersionResult.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 UpdateDocumentationVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
72 
76  inline UpdateDocumentationVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
77 
81  inline UpdateDocumentationVersionResult& 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 UpdateDocumentationVersionResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
103 
107  inline UpdateDocumentationVersionResult& 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 UpdateDocumentationVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
134 
138  inline UpdateDocumentationVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
139 
143  inline UpdateDocumentationVersionResult& 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_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateDocumentationVersionResult::UpdateDocumentationVersionResult
UpdateDocumentationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DateTime.h
Aws::APIGateway::Model::UpdateDocumentationVersionResult::WithDescription
UpdateDocumentationVersionResult & WithDescription(Aws::String &&value)
Definition: UpdateDocumentationVersionResult.h:138
Aws::APIGateway::Model::UpdateDocumentationVersionResult::WithVersion
UpdateDocumentationVersionResult & WithVersion(Aws::String &&value)
Definition: UpdateDocumentationVersionResult.h:76
Aws::APIGateway::Model::UpdateDocumentationVersionResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateDocumentationVersionResult.h:123
Aws::APIGateway::Model::UpdateDocumentationVersionResult::WithCreatedDate
UpdateDocumentationVersionResult & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: UpdateDocumentationVersionResult.h:107
APIGateway_EXPORTS.h
Aws::APIGateway::Model::UpdateDocumentationVersionResult::UpdateDocumentationVersionResult
UpdateDocumentationVersionResult()
Aws::APIGateway::Model::UpdateDocumentationVersionResult::SetVersion
void SetVersion(Aws::String &&value)
Definition: UpdateDocumentationVersionResult.h:61
Aws::APIGateway::Model::UpdateDocumentationVersionResult::WithDescription
UpdateDocumentationVersionResult & WithDescription(const Aws::String &value)
Definition: UpdateDocumentationVersionResult.h:133
Aws::APIGateway::Model::UpdateDocumentationVersionResult::operator=
UpdateDocumentationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateDocumentationVersionResult::WithCreatedDate
UpdateDocumentationVersionResult & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: UpdateDocumentationVersionResult.h:102
Aws::APIGateway::Model::UpdateDocumentationVersionResult::GetVersion
const Aws::String & GetVersion() const
Definition: UpdateDocumentationVersionResult.h:51
Aws::APIGateway::Model::UpdateDocumentationVersionResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateDocumentationVersionResult.h:118
Aws::APIGateway::Model::UpdateDocumentationVersionResult::SetVersion
void SetVersion(const char *value)
Definition: UpdateDocumentationVersionResult.h:66
Aws::APIGateway::Model::UpdateDocumentationVersionResult::WithDescription
UpdateDocumentationVersionResult & WithDescription(const char *value)
Definition: UpdateDocumentationVersionResult.h:143
Aws::APIGateway::Model::UpdateDocumentationVersionResult::SetVersion
void SetVersion(const Aws::String &value)
Definition: UpdateDocumentationVersionResult.h:56
AWSString.h
Aws::APIGateway::Model::UpdateDocumentationVersionResult::WithVersion
UpdateDocumentationVersionResult & WithVersion(const Aws::String &value)
Definition: UpdateDocumentationVersionResult.h:71
Aws::APIGateway::Model::UpdateDocumentationVersionResult::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: UpdateDocumentationVersionResult.h:97
Aws::APIGateway::Model::UpdateDocumentationVersionResult::WithVersion
UpdateDocumentationVersionResult & WithVersion(const char *value)
Definition: UpdateDocumentationVersionResult.h:81
Aws::APIGateway::Model::UpdateDocumentationVersionResult::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: UpdateDocumentationVersionResult.h:92
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
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::UpdateDocumentationVersionResult::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateDocumentationVersionResult.h:113
Aws::APIGateway::Model::UpdateDocumentationVersionResult::SetDescription
void SetDescription(const char *value)
Definition: UpdateDocumentationVersionResult.h:128
Aws::APIGateway::Model::UpdateDocumentationVersionResult::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: UpdateDocumentationVersionResult.h:87
Aws::APIGateway::Model::UpdateDocumentationVersionResult
Definition: UpdateDocumentationVersionResult.h:41