AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDocumentationPartResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apigateway/model/DocumentationPartLocation.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace APIGateway
25{
26namespace Model
27{
34 {
35 public:
36 AWS_APIGATEWAY_API CreateDocumentationPartResult();
39
40
42
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline void SetId(const Aws::String& value) { m_id = value; }
48 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
49 inline void SetId(const char* value) { m_id.assign(value); }
50 inline CreateDocumentationPartResult& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline CreateDocumentationPartResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline CreateDocumentationPartResult& WithId(const char* value) { SetId(value); return *this;}
54
56
63 inline const DocumentationPartLocation& GetLocation() const{ return m_location; }
64 inline void SetLocation(const DocumentationPartLocation& value) { m_location = value; }
65 inline void SetLocation(DocumentationPartLocation&& value) { m_location = std::move(value); }
67 inline CreateDocumentationPartResult& WithLocation(DocumentationPartLocation&& value) { SetLocation(std::move(value)); return *this;}
69
71
80 inline const Aws::String& GetProperties() const{ return m_properties; }
81 inline void SetProperties(const Aws::String& value) { m_properties = value; }
82 inline void SetProperties(Aws::String&& value) { m_properties = std::move(value); }
83 inline void SetProperties(const char* value) { m_properties.assign(value); }
84 inline CreateDocumentationPartResult& WithProperties(const Aws::String& value) { SetProperties(value); return *this;}
85 inline CreateDocumentationPartResult& WithProperties(Aws::String&& value) { SetProperties(std::move(value)); return *this;}
86 inline CreateDocumentationPartResult& WithProperties(const char* value) { SetProperties(value); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline CreateDocumentationPartResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline CreateDocumentationPartResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline CreateDocumentationPartResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
101 Aws::String m_id;
102
103 DocumentationPartLocation m_location;
104
105 Aws::String m_properties;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace APIGateway
112} // namespace Aws
CreateDocumentationPartResult & WithProperties(const char *value)
CreateDocumentationPartResult & WithRequestId(const char *value)
CreateDocumentationPartResult & WithLocation(const DocumentationPartLocation &value)
CreateDocumentationPartResult & WithProperties(Aws::String &&value)
AWS_APIGATEWAY_API CreateDocumentationPartResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDocumentationPartResult & WithId(Aws::String &&value)
void SetLocation(const DocumentationPartLocation &value)
CreateDocumentationPartResult & WithLocation(DocumentationPartLocation &&value)
CreateDocumentationPartResult & WithId(const Aws::String &value)
CreateDocumentationPartResult & WithRequestId(const Aws::String &value)
AWS_APIGATEWAY_API CreateDocumentationPartResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDocumentationPartResult & WithProperties(const Aws::String &value)
CreateDocumentationPartResult & WithId(const char *value)
CreateDocumentationPartResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue