AWS SDK for C++  1.9.153
AWS SDK for C++
GetDocumentationPartResult.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 GetDocumentationPartResult& WithId(const Aws::String& value) { SetId(value); return *this;}
85 
90  inline GetDocumentationPartResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
91 
96  inline GetDocumentationPartResult& 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 GetDocumentationPartResult& WithLocation(const DocumentationPartLocation& value) { SetLocation(value); return *this;}
134 
142  inline GetDocumentationPartResult& 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 GetDocumentationPartResult& WithProperties(const Aws::String& value) { SetProperties(value); return *this;}
199 
209  inline GetDocumentationPartResult& WithProperties(Aws::String&& value) { SetProperties(std::move(value)); return *this;}
210 
220  inline GetDocumentationPartResult& 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::APIGateway::Model::GetDocumentationPartResult::GetProperties
const Aws::String & GetProperties() const
Definition: GetDocumentationPartResult.h:154
Aws::APIGateway::Model::GetDocumentationPartResult::SetProperties
void SetProperties(Aws::String &&value)
Definition: GetDocumentationPartResult.h:176
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetDocumentationPartResult::SetProperties
void SetProperties(const Aws::String &value)
Definition: GetDocumentationPartResult.h:165
Aws::APIGateway::Model::GetDocumentationPartResult::SetLocation
void SetLocation(const DocumentationPartLocation &value)
Definition: GetDocumentationPartResult.h:115
Aws::APIGateway::Model::GetDocumentationPartResult::WithProperties
GetDocumentationPartResult & WithProperties(const char *value)
Definition: GetDocumentationPartResult.h:220
Aws::APIGateway::Model::GetDocumentationPartResult::GetId
const Aws::String & GetId() const
Definition: GetDocumentationPartResult.h:60
Aws::APIGateway::Model::GetDocumentationPartResult::WithId
GetDocumentationPartResult & WithId(const Aws::String &value)
Definition: GetDocumentationPartResult.h:84
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetDocumentationPartResult::WithLocation
GetDocumentationPartResult & WithLocation(const DocumentationPartLocation &value)
Definition: GetDocumentationPartResult.h:133
Aws::APIGateway::Model::GetDocumentationPartResult::GetDocumentationPartResult
GetDocumentationPartResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetDocumentationPartResult::WithProperties
GetDocumentationPartResult & WithProperties(const Aws::String &value)
Definition: GetDocumentationPartResult.h:198
Aws::APIGateway::Model::DocumentationPartLocation
Definition: DocumentationPartLocation.h:34
Aws::APIGateway::Model::GetDocumentationPartResult::SetId
void SetId(const Aws::String &value)
Definition: GetDocumentationPartResult.h:66
Aws::APIGateway::Model::GetDocumentationPartResult::WithId
GetDocumentationPartResult & WithId(Aws::String &&value)
Definition: GetDocumentationPartResult.h:90
Aws::APIGateway::Model::GetDocumentationPartResult::SetLocation
void SetLocation(DocumentationPartLocation &&value)
Definition: GetDocumentationPartResult.h:124
DocumentationPartLocation.h
Aws::APIGateway::Model::GetDocumentationPartResult::SetProperties
void SetProperties(const char *value)
Definition: GetDocumentationPartResult.h:187
Aws::APIGateway::Model::GetDocumentationPartResult::WithLocation
GetDocumentationPartResult & WithLocation(DocumentationPartLocation &&value)
Definition: GetDocumentationPartResult.h:142
Aws::APIGateway::Model::GetDocumentationPartResult
Definition: GetDocumentationPartResult.h:49
Aws::APIGateway::Model::GetDocumentationPartResult::operator=
GetDocumentationPartResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetDocumentationPartResult::SetId
void SetId(const char *value)
Definition: GetDocumentationPartResult.h:78
AWSString.h
Aws::APIGateway::Model::GetDocumentationPartResult::SetId
void SetId(Aws::String &&value)
Definition: GetDocumentationPartResult.h:72
Aws::APIGateway::Model::GetDocumentationPartResult::GetDocumentationPartResult
GetDocumentationPartResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetDocumentationPartResult::WithProperties
GetDocumentationPartResult & WithProperties(Aws::String &&value)
Definition: GetDocumentationPartResult.h:209
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetDocumentationPartResult::WithId
GetDocumentationPartResult & WithId(const char *value)
Definition: GetDocumentationPartResult.h:96
Aws::APIGateway::Model::GetDocumentationPartResult::GetLocation
const DocumentationPartLocation & GetLocation() const
Definition: GetDocumentationPartResult.h:106