AWS SDK for C++  1.9.155
AWS SDK for C++
UpdateDocumentationPartResult.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 {
49  {
50  public:
54 
55 
60  inline const Aws::String& GetId() const{ return m_id; }
61 
66  inline void SetId(const Aws::String& value) { m_id = value; }
67 
72  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
73 
78  inline void SetId(const char* value) { m_id.assign(value); }
79 
84  inline UpdateDocumentationPartResult& WithId(const Aws::String& value) { SetId(value); return *this;}
85 
90  inline UpdateDocumentationPartResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
91 
96  inline UpdateDocumentationPartResult& WithId(const char* value) { SetId(value); return *this;}
97 
98 
106  inline const DocumentationPartLocation& GetLocation() const{ return m_location; }
107 
115  inline void SetLocation(const DocumentationPartLocation& value) { m_location = value; }
116 
124  inline void SetLocation(DocumentationPartLocation&& value) { m_location = std::move(value); }
125 
133  inline UpdateDocumentationPartResult& WithLocation(const DocumentationPartLocation& value) { SetLocation(value); return *this;}
134 
142  inline UpdateDocumentationPartResult& WithLocation(DocumentationPartLocation&& value) { SetLocation(std::move(value)); return *this;}
143 
144 
154  inline const Aws::String& GetProperties() const{ return m_properties; }
155 
165  inline void SetProperties(const Aws::String& value) { m_properties = value; }
166 
176  inline void SetProperties(Aws::String&& value) { m_properties = std::move(value); }
177 
187  inline void SetProperties(const char* value) { m_properties.assign(value); }
188 
198  inline UpdateDocumentationPartResult& WithProperties(const Aws::String& value) { SetProperties(value); return *this;}
199 
209  inline UpdateDocumentationPartResult& WithProperties(Aws::String&& value) { SetProperties(std::move(value)); return *this;}
210 
220  inline UpdateDocumentationPartResult& WithProperties(const char* value) { SetProperties(value); return *this;}
221 
222  private:
223 
224  Aws::String m_id;
225 
226  DocumentationPartLocation m_location;
227 
228  Aws::String m_properties;
229  };
230 
231 } // namespace Model
232 } // namespace APIGateway
233 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::UpdateDocumentationPartResult::SetProperties
void SetProperties(Aws::String &&value)
Definition: UpdateDocumentationPartResult.h:176
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateDocumentationPartResult::SetLocation
void SetLocation(DocumentationPartLocation &&value)
Definition: UpdateDocumentationPartResult.h:124
Aws::APIGateway::Model::UpdateDocumentationPartResult::WithId
UpdateDocumentationPartResult & WithId(const char *value)
Definition: UpdateDocumentationPartResult.h:96
Aws::APIGateway::Model::UpdateDocumentationPartResult::SetId
void SetId(const char *value)
Definition: UpdateDocumentationPartResult.h:78
Aws::APIGateway::Model::UpdateDocumentationPartResult
Definition: UpdateDocumentationPartResult.h:49
Aws::APIGateway::Model::UpdateDocumentationPartResult::SetLocation
void SetLocation(const DocumentationPartLocation &value)
Definition: UpdateDocumentationPartResult.h:115
Aws::APIGateway::Model::UpdateDocumentationPartResult::WithId
UpdateDocumentationPartResult & WithId(Aws::String &&value)
Definition: UpdateDocumentationPartResult.h:90
APIGateway_EXPORTS.h
Aws::APIGateway::Model::UpdateDocumentationPartResult::WithId
UpdateDocumentationPartResult & WithId(const Aws::String &value)
Definition: UpdateDocumentationPartResult.h:84
Aws::APIGateway::Model::DocumentationPartLocation
Definition: DocumentationPartLocation.h:34
Aws::APIGateway::Model::UpdateDocumentationPartResult::SetProperties
void SetProperties(const char *value)
Definition: UpdateDocumentationPartResult.h:187
DocumentationPartLocation.h
Aws::APIGateway::Model::UpdateDocumentationPartResult::WithLocation
UpdateDocumentationPartResult & WithLocation(const DocumentationPartLocation &value)
Definition: UpdateDocumentationPartResult.h:133
AWSString.h
Aws::APIGateway::Model::UpdateDocumentationPartResult::SetProperties
void SetProperties(const Aws::String &value)
Definition: UpdateDocumentationPartResult.h:165
Aws::APIGateway::Model::UpdateDocumentationPartResult::WithLocation
UpdateDocumentationPartResult & WithLocation(DocumentationPartLocation &&value)
Definition: UpdateDocumentationPartResult.h:142
Aws::APIGateway::Model::UpdateDocumentationPartResult::WithProperties
UpdateDocumentationPartResult & WithProperties(const char *value)
Definition: UpdateDocumentationPartResult.h:220
Aws::APIGateway::Model::UpdateDocumentationPartResult::GetLocation
const DocumentationPartLocation & GetLocation() const
Definition: UpdateDocumentationPartResult.h:106
Aws::APIGateway::Model::UpdateDocumentationPartResult::UpdateDocumentationPartResult
UpdateDocumentationPartResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateDocumentationPartResult::WithProperties
UpdateDocumentationPartResult & WithProperties(Aws::String &&value)
Definition: UpdateDocumentationPartResult.h:209
Aws::APIGateway::Model::UpdateDocumentationPartResult::UpdateDocumentationPartResult
UpdateDocumentationPartResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::UpdateDocumentationPartResult::GetId
const Aws::String & GetId() const
Definition: UpdateDocumentationPartResult.h:60
Aws::APIGateway::Model::UpdateDocumentationPartResult::WithProperties
UpdateDocumentationPartResult & WithProperties(const Aws::String &value)
Definition: UpdateDocumentationPartResult.h:198
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::UpdateDocumentationPartResult::GetProperties
const Aws::String & GetProperties() const
Definition: UpdateDocumentationPartResult.h:154
Aws::APIGateway::Model::UpdateDocumentationPartResult::SetId
void SetId(Aws::String &&value)
Definition: UpdateDocumentationPartResult.h:72
Aws::APIGateway::Model::UpdateDocumentationPartResult::operator=
UpdateDocumentationPartResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateDocumentationPartResult::SetId
void SetId(const Aws::String &value)
Definition: UpdateDocumentationPartResult.h:66