AWS SDK for C++  1.9.159
AWS SDK for C++
DocumentationVersion.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace APIGateway
23 {
24 namespace Model
25 {
26 
40  {
41  public:
46 
47 
51  inline const Aws::String& GetVersion() const{ return m_version; }
52 
56  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
57 
61  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
62 
66  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
67 
71  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
72 
76  inline DocumentationVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
77 
81  inline DocumentationVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
82 
86  inline DocumentationVersion& WithVersion(const char* value) { SetVersion(value); return *this;}
87 
88 
92  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
93 
97  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
98 
102  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
103 
107  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
108 
112  inline DocumentationVersion& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
113 
117  inline DocumentationVersion& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
118 
119 
123  inline const Aws::String& GetDescription() const{ return m_description; }
124 
128  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 
133  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
134 
138  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
139 
143  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
144 
148  inline DocumentationVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
149 
153  inline DocumentationVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
154 
158  inline DocumentationVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
159 
160  private:
161 
162  Aws::String m_version;
163  bool m_versionHasBeenSet;
164 
165  Aws::Utils::DateTime m_createdDate;
166  bool m_createdDateHasBeenSet;
167 
168  Aws::String m_description;
169  bool m_descriptionHasBeenSet;
170  };
171 
172 } // namespace Model
173 } // namespace APIGateway
174 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::APIGateway::Model::DocumentationVersion::WithCreatedDate
DocumentationVersion & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: DocumentationVersion.h:117
Aws::APIGateway::Model::DocumentationVersion::SetVersion
void SetVersion(const Aws::String &value)
Definition: DocumentationVersion.h:61
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::DocumentationVersion::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: DocumentationVersion.h:97
Aws::APIGateway::Model::DocumentationVersion::WithCreatedDate
DocumentationVersion & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: DocumentationVersion.h:112
Aws::APIGateway::Model::DocumentationVersion::DocumentationVersion
DocumentationVersion(Aws::Utils::Json::JsonView jsonValue)
DateTime.h
Aws::APIGateway::Model::DocumentationVersion::SetDescription
void SetDescription(const Aws::String &value)
Definition: DocumentationVersion.h:133
Aws::APIGateway::Model::DocumentationVersion::GetVersion
const Aws::String & GetVersion() const
Definition: DocumentationVersion.h:51
APIGateway_EXPORTS.h
Aws::APIGateway::Model::DocumentationVersion::GetDescription
const Aws::String & GetDescription() const
Definition: DocumentationVersion.h:123
Aws::APIGateway::Model::DocumentationVersion::operator=
DocumentationVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::DocumentationVersion::WithVersion
DocumentationVersion & WithVersion(Aws::String &&value)
Definition: DocumentationVersion.h:81
Aws::APIGateway::Model::DocumentationVersion::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: DocumentationVersion.h:92
Aws::APIGateway::Model::DocumentationVersion::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: DocumentationVersion.h:102
Aws::APIGateway::Model::DocumentationVersion::SetVersion
void SetVersion(const char *value)
Definition: DocumentationVersion.h:71
Aws::APIGateway::Model::DocumentationVersion::DocumentationVersion
DocumentationVersion()
Aws::APIGateway::Model::DocumentationVersion::WithDescription
DocumentationVersion & WithDescription(const char *value)
Definition: DocumentationVersion.h:158
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::APIGateway::Model::DocumentationVersion::SetDescription
void SetDescription(Aws::String &&value)
Definition: DocumentationVersion.h:138
Aws::APIGateway::Model::DocumentationVersion::WithVersion
DocumentationVersion & WithVersion(const char *value)
Definition: DocumentationVersion.h:86
Aws::APIGateway::Model::DocumentationVersion
Definition: DocumentationVersion.h:40
Aws::APIGateway::Model::DocumentationVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::APIGateway::Model::DocumentationVersion::WithDescription
DocumentationVersion & WithDescription(Aws::String &&value)
Definition: DocumentationVersion.h:153
Aws::APIGateway::Model::DocumentationVersion::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: DocumentationVersion.h:128
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::DocumentationVersion::SetVersion
void SetVersion(Aws::String &&value)
Definition: DocumentationVersion.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::DocumentationVersion::WithVersion
DocumentationVersion & WithVersion(const Aws::String &value)
Definition: DocumentationVersion.h:76
Aws::APIGateway::Model::DocumentationVersion::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: DocumentationVersion.h:107
Aws::APIGateway::Model::DocumentationVersion::SetDescription
void SetDescription(const char *value)
Definition: DocumentationVersion.h:143
Aws::APIGateway::Model::DocumentationVersion::WithDescription
DocumentationVersion & WithDescription(const Aws::String &value)
Definition: DocumentationVersion.h:148
Aws::APIGateway::Model::DocumentationVersion::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: DocumentationVersion.h:56