AWS SDK for C++  1.9.16
AWS SDK for C++
DocumentationPart.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 
48  {
49  public:
54 
55 
60  inline const Aws::String& GetId() const{ return m_id; }
61 
66  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
67 
72  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
73 
78  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
79 
84  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
85 
90  inline DocumentationPart& WithId(const Aws::String& value) { SetId(value); return *this;}
91 
96  inline DocumentationPart& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
97 
102  inline DocumentationPart& WithId(const char* value) { SetId(value); return *this;}
103 
104 
112  inline const DocumentationPartLocation& GetLocation() const{ return m_location; }
113 
121  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
122 
130  inline void SetLocation(const DocumentationPartLocation& value) { m_locationHasBeenSet = true; m_location = value; }
131 
139  inline void SetLocation(DocumentationPartLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
140 
148  inline DocumentationPart& WithLocation(const DocumentationPartLocation& value) { SetLocation(value); return *this;}
149 
157  inline DocumentationPart& WithLocation(DocumentationPartLocation&& value) { SetLocation(std::move(value)); return *this;}
158 
159 
169  inline const Aws::String& GetProperties() const{ return m_properties; }
170 
180  inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
181 
191  inline void SetProperties(const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties = value; }
192 
202  inline void SetProperties(Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
203 
213  inline void SetProperties(const char* value) { m_propertiesHasBeenSet = true; m_properties.assign(value); }
214 
224  inline DocumentationPart& WithProperties(const Aws::String& value) { SetProperties(value); return *this;}
225 
235  inline DocumentationPart& WithProperties(Aws::String&& value) { SetProperties(std::move(value)); return *this;}
236 
246  inline DocumentationPart& WithProperties(const char* value) { SetProperties(value); return *this;}
247 
248  private:
249 
250  Aws::String m_id;
251  bool m_idHasBeenSet;
252 
253  DocumentationPartLocation m_location;
254  bool m_locationHasBeenSet;
255 
256  Aws::String m_properties;
257  bool m_propertiesHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace APIGateway
262 } // namespace Aws
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::DocumentationPart::SetLocation
void SetLocation(const DocumentationPartLocation &value)
Definition: DocumentationPart.h:130
Aws::APIGateway::Model::DocumentationPart::GetLocation
const DocumentationPartLocation & GetLocation() const
Definition: DocumentationPart.h:112
Aws::APIGateway::Model::DocumentationPart::WithId
DocumentationPart & WithId(Aws::String &&value)
Definition: DocumentationPart.h:96
Aws::APIGateway::Model::DocumentationPart::DocumentationPart
DocumentationPart()
APIGateway_EXPORTS.h
Aws::APIGateway::Model::DocumentationPart::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DocumentationPart.h:66
Aws::APIGateway::Model::DocumentationPart::DocumentationPart
DocumentationPart(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::DocumentationPartLocation
Definition: DocumentationPartLocation.h:34
Aws::APIGateway::Model::DocumentationPart::WithProperties
DocumentationPart & WithProperties(Aws::String &&value)
Definition: DocumentationPart.h:235
Aws::APIGateway::Model::DocumentationPart::WithId
DocumentationPart & WithId(const char *value)
Definition: DocumentationPart.h:102
Aws::APIGateway::Model::DocumentationPart::SetProperties
void SetProperties(const char *value)
Definition: DocumentationPart.h:213
DocumentationPartLocation.h
Aws::APIGateway::Model::DocumentationPart::WithLocation
DocumentationPart & WithLocation(const DocumentationPartLocation &value)
Definition: DocumentationPart.h:148
Aws::APIGateway::Model::DocumentationPart::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::APIGateway::Model::DocumentationPart::SetLocation
void SetLocation(DocumentationPartLocation &&value)
Definition: DocumentationPart.h:139
Aws::APIGateway::Model::DocumentationPart::SetProperties
void SetProperties(Aws::String &&value)
Definition: DocumentationPart.h:202
Aws::APIGateway::Model::DocumentationPart::PropertiesHasBeenSet
bool PropertiesHasBeenSet() const
Definition: DocumentationPart.h:180
Aws::APIGateway::Model::DocumentationPart::WithLocation
DocumentationPart & WithLocation(DocumentationPartLocation &&value)
Definition: DocumentationPart.h:157
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::APIGateway::Model::DocumentationPart::SetId
void SetId(Aws::String &&value)
Definition: DocumentationPart.h:78
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::APIGateway::Model::DocumentationPart::GetProperties
const Aws::String & GetProperties() const
Definition: DocumentationPart.h:169
Aws::APIGateway::Model::DocumentationPart::GetId
const Aws::String & GetId() const
Definition: DocumentationPart.h:60
Aws::APIGateway::Model::DocumentationPart
Definition: DocumentationPart.h:48
Aws::APIGateway::Model::DocumentationPart::WithId
DocumentationPart & WithId(const Aws::String &value)
Definition: DocumentationPart.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::DocumentationPart::WithProperties
DocumentationPart & WithProperties(const Aws::String &value)
Definition: DocumentationPart.h:224
Aws::APIGateway::Model::DocumentationPart::WithProperties
DocumentationPart & WithProperties(const char *value)
Definition: DocumentationPart.h:246
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::DocumentationPart::SetId
void SetId(const char *value)
Definition: DocumentationPart.h:84
Aws::APIGateway::Model::DocumentationPart::SetId
void SetId(const Aws::String &value)
Definition: DocumentationPart.h:72
Aws::APIGateway::Model::DocumentationPart::SetProperties
void SetProperties(const Aws::String &value)
Definition: DocumentationPart.h:191
Aws::APIGateway::Model::DocumentationPart::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: DocumentationPart.h:121
Aws::APIGateway::Model::DocumentationPart::operator=
DocumentationPart & operator=(Aws::Utils::Json::JsonView jsonValue)