AWS SDK for C++  1.9.66
AWS SDK for C++
DocumentationPartLocation.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 
34  {
35  public:
40 
41 
53  inline const DocumentationPartType& GetType() const{ return m_type; }
54 
66  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
67 
79  inline void SetType(const DocumentationPartType& value) { m_typeHasBeenSet = true; m_type = value; }
80 
92  inline void SetType(DocumentationPartType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
93 
105  inline DocumentationPartLocation& WithType(const DocumentationPartType& value) { SetType(value); return *this;}
106 
118  inline DocumentationPartLocation& WithType(DocumentationPartType&& value) { SetType(std::move(value)); return *this;}
119 
120 
132  inline const Aws::String& GetPath() const{ return m_path; }
133 
145  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
146 
158  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
159 
171  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
172 
184  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
185 
197  inline DocumentationPartLocation& WithPath(const Aws::String& value) { SetPath(value); return *this;}
198 
210  inline DocumentationPartLocation& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
211 
223  inline DocumentationPartLocation& WithPath(const char* value) { SetPath(value); return *this;}
224 
225 
236  inline const Aws::String& GetMethod() const{ return m_method; }
237 
248  inline bool MethodHasBeenSet() const { return m_methodHasBeenSet; }
249 
260  inline void SetMethod(const Aws::String& value) { m_methodHasBeenSet = true; m_method = value; }
261 
272  inline void SetMethod(Aws::String&& value) { m_methodHasBeenSet = true; m_method = std::move(value); }
273 
284  inline void SetMethod(const char* value) { m_methodHasBeenSet = true; m_method.assign(value); }
285 
296  inline DocumentationPartLocation& WithMethod(const Aws::String& value) { SetMethod(value); return *this;}
297 
308  inline DocumentationPartLocation& WithMethod(Aws::String&& value) { SetMethod(std::move(value)); return *this;}
309 
320  inline DocumentationPartLocation& WithMethod(const char* value) { SetMethod(value); return *this;}
321 
322 
332  inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
333 
343  inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
344 
354  inline void SetStatusCode(const Aws::String& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
355 
365  inline void SetStatusCode(Aws::String&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
366 
376  inline void SetStatusCode(const char* value) { m_statusCodeHasBeenSet = true; m_statusCode.assign(value); }
377 
387  inline DocumentationPartLocation& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
388 
398  inline DocumentationPartLocation& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
399 
409  inline DocumentationPartLocation& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
410 
411 
420  inline const Aws::String& GetName() const{ return m_name; }
421 
430  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
431 
440  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
441 
450  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
451 
460  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
461 
470  inline DocumentationPartLocation& WithName(const Aws::String& value) { SetName(value); return *this;}
471 
480  inline DocumentationPartLocation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
481 
490  inline DocumentationPartLocation& WithName(const char* value) { SetName(value); return *this;}
491 
492  private:
493 
494  DocumentationPartType m_type;
495  bool m_typeHasBeenSet;
496 
497  Aws::String m_path;
498  bool m_pathHasBeenSet;
499 
500  Aws::String m_method;
501  bool m_methodHasBeenSet;
502 
503  Aws::String m_statusCode;
504  bool m_statusCodeHasBeenSet;
505 
506  Aws::String m_name;
507  bool m_nameHasBeenSet;
508  };
509 
510 } // namespace Model
511 } // namespace APIGateway
512 } // namespace Aws
Aws::APIGateway::Model::DocumentationPartLocation::WithStatusCode
DocumentationPartLocation & WithStatusCode(Aws::String &&value)
Definition: DocumentationPartLocation.h:398
Aws::APIGateway::Model::DocumentationPartLocation::SetMethod
void SetMethod(const char *value)
Definition: DocumentationPartLocation.h:284
Aws::APIGateway::Model::DocumentationPartLocation::SetName
void SetName(Aws::String &&value)
Definition: DocumentationPartLocation.h:450
Aws::APIGateway::Model::DocumentationPartLocation::WithStatusCode
DocumentationPartLocation & WithStatusCode(const Aws::String &value)
Definition: DocumentationPartLocation.h:387
Aws::APIGateway::Model::DocumentationPartLocation::SetMethod
void SetMethod(const Aws::String &value)
Definition: DocumentationPartLocation.h:260
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::DocumentationPartLocation::WithName
DocumentationPartLocation & WithName(const Aws::String &value)
Definition: DocumentationPartLocation.h:470
Aws::APIGateway::Model::DocumentationPartLocation::SetPath
void SetPath(const char *value)
Definition: DocumentationPartLocation.h:184
Aws::APIGateway::Model::DocumentationPartLocation::SetType
void SetType(const DocumentationPartType &value)
Definition: DocumentationPartLocation.h:79
Aws::APIGateway::Model::DocumentationPartLocation::SetStatusCode
void SetStatusCode(const char *value)
Definition: DocumentationPartLocation.h:376
Aws::APIGateway::Model::DocumentationPartLocation::WithMethod
DocumentationPartLocation & WithMethod(const char *value)
Definition: DocumentationPartLocation.h:320
Aws::APIGateway::Model::DocumentationPartLocation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
APIGateway_EXPORTS.h
Aws::APIGateway::Model::DocumentationPartLocation::WithStatusCode
DocumentationPartLocation & WithStatusCode(const char *value)
Definition: DocumentationPartLocation.h:409
Aws::APIGateway::Model::DocumentationPartLocation::SetPath
void SetPath(Aws::String &&value)
Definition: DocumentationPartLocation.h:171
Aws::APIGateway::Model::DocumentationPartLocation
Definition: DocumentationPartLocation.h:34
Aws::APIGateway::Model::DocumentationPartLocation::StatusCodeHasBeenSet
bool StatusCodeHasBeenSet() const
Definition: DocumentationPartLocation.h:343
Aws::APIGateway::Model::DocumentationPartLocation::WithType
DocumentationPartLocation & WithType(DocumentationPartType &&value)
Definition: DocumentationPartLocation.h:118
Aws::APIGateway::Model::DocumentationPartLocation::SetType
void SetType(DocumentationPartType &&value)
Definition: DocumentationPartLocation.h:92
Aws::APIGateway::Model::DocumentationPartLocation::SetName
void SetName(const Aws::String &value)
Definition: DocumentationPartLocation.h:440
Aws::APIGateway::Model::DocumentationPartLocation::GetType
const DocumentationPartType & GetType() const
Definition: DocumentationPartLocation.h:53
Aws::APIGateway::Model::DocumentationPartLocation::SetStatusCode
void SetStatusCode(const Aws::String &value)
Definition: DocumentationPartLocation.h:354
Aws::APIGateway::Model::DocumentationPartLocation::WithPath
DocumentationPartLocation & WithPath(const char *value)
Definition: DocumentationPartLocation.h:223
Aws::APIGateway::Model::DocumentationPartLocation::GetMethod
const Aws::String & GetMethod() const
Definition: DocumentationPartLocation.h:236
Aws::APIGateway::Model::DocumentationPartLocation::MethodHasBeenSet
bool MethodHasBeenSet() const
Definition: DocumentationPartLocation.h:248
Aws::APIGateway::Model::DocumentationPartLocation::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DocumentationPartLocation.h:430
Aws::APIGateway::Model::DocumentationPartLocation::GetStatusCode
const Aws::String & GetStatusCode() const
Definition: DocumentationPartLocation.h:332
DocumentationPartType.h
Aws::APIGateway::Model::DocumentationPartLocation::WithName
DocumentationPartLocation & WithName(const char *value)
Definition: DocumentationPartLocation.h:490
Aws::APIGateway::Model::DocumentationPartLocation::GetName
const Aws::String & GetName() const
Definition: DocumentationPartLocation.h:420
Aws::APIGateway::Model::DocumentationPartLocation::operator=
DocumentationPartLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::DocumentationPartLocation::WithPath
DocumentationPartLocation & WithPath(const Aws::String &value)
Definition: DocumentationPartLocation.h:197
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::APIGateway::Model::DocumentationPartLocation::DocumentationPartLocation
DocumentationPartLocation()
Aws::APIGateway::Model::DocumentationPartLocation::SetPath
void SetPath(const Aws::String &value)
Definition: DocumentationPartLocation.h:158
Aws::APIGateway::Model::DocumentationPartLocation::WithType
DocumentationPartLocation & WithType(const DocumentationPartType &value)
Definition: DocumentationPartLocation.h:105
Aws::APIGateway::Model::DocumentationPartLocation::SetStatusCode
void SetStatusCode(Aws::String &&value)
Definition: DocumentationPartLocation.h:365
Aws::APIGateway::Model::DocumentationPartLocation::WithMethod
DocumentationPartLocation & WithMethod(Aws::String &&value)
Definition: DocumentationPartLocation.h:308
Aws::APIGateway::Model::DocumentationPartLocation::DocumentationPartLocation
DocumentationPartLocation(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::DocumentationPartLocation::GetPath
const Aws::String & GetPath() const
Definition: DocumentationPartLocation.h:132
Aws::APIGateway::Model::DocumentationPartLocation::WithMethod
DocumentationPartLocation & WithMethod(const Aws::String &value)
Definition: DocumentationPartLocation.h:296
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::DocumentationPartLocation::SetName
void SetName(const char *value)
Definition: DocumentationPartLocation.h:460
Aws::APIGateway::Model::DocumentationPartType
DocumentationPartType
Definition: DocumentationPartType.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::DocumentationPartLocation::WithPath
DocumentationPartLocation & WithPath(Aws::String &&value)
Definition: DocumentationPartLocation.h:210
Aws::APIGateway::Model::DocumentationPartLocation::WithName
DocumentationPartLocation & WithName(Aws::String &&value)
Definition: DocumentationPartLocation.h:480
Aws::APIGateway::Model::DocumentationPartLocation::SetMethod
void SetMethod(Aws::String &&value)
Definition: DocumentationPartLocation.h:272
Aws::APIGateway::Model::DocumentationPartLocation::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: DocumentationPartLocation.h:66
Aws::APIGateway::Model::DocumentationPartLocation::PathHasBeenSet
bool PathHasBeenSet() const
Definition: DocumentationPartLocation.h:145