AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
GetConfigurationResult.h
1
6#pragma once
7#include <aws/appconfigcloudextension/AppConfigCloudExtension_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AppConfigCloudExtension {
24namespace Model {
31 public:
32 AWS_APPCONFIGCLOUDEXTENSION_API GetConfigurationResult() = default;
35
37
41 inline const Aws::Utils::ByteBuffer& GetContent() const { return m_content; }
42 template <typename ContentT = Aws::Utils::ByteBuffer>
43 void SetContent(ContentT&& value) {
44 m_contentHasBeenSet = true;
45 m_content = std::forward<ContentT>(value);
46 }
47 template <typename ContentT = Aws::Utils::ByteBuffer>
49 SetContent(std::forward<ContentT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetContentType() const { return m_contentType; }
59 template <typename ContentTypeT = Aws::String>
60 void SetContentType(ContentTypeT&& value) {
61 m_contentTypeHasBeenSet = true;
62 m_contentType = std::forward<ContentTypeT>(value);
63 }
64 template <typename ContentTypeT = Aws::String>
65 GetConfigurationResult& WithContentType(ContentTypeT&& value) {
66 SetContentType(std::forward<ContentTypeT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetRevision() const { return m_revision; }
77 template <typename RevisionT = Aws::String>
78 void SetRevision(RevisionT&& value) {
79 m_revisionHasBeenSet = true;
80 m_revision = std::forward<RevisionT>(value);
81 }
82 template <typename RevisionT = Aws::String>
84 SetRevision(std::forward<RevisionT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
95 template <typename VersionLabelT = Aws::String>
96 void SetVersionLabel(VersionLabelT&& value) {
97 m_versionLabelHasBeenSet = true;
98 m_versionLabel = std::forward<VersionLabelT>(value);
99 }
100 template <typename VersionLabelT = Aws::String>
101 GetConfigurationResult& WithVersionLabel(VersionLabelT&& value) {
102 SetVersionLabel(std::forward<VersionLabelT>(value));
103 return *this;
104 }
106
108
109 inline const Aws::String& GetRequestId() const { return m_requestId; }
110 template <typename RequestIdT = Aws::String>
111 void SetRequestId(RequestIdT&& value) {
112 m_requestIdHasBeenSet = true;
113 m_requestId = std::forward<RequestIdT>(value);
114 }
115 template <typename RequestIdT = Aws::String>
117 SetRequestId(std::forward<RequestIdT>(value));
118 return *this;
119 }
121 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
122
123 private:
124 Aws::Utils::ByteBuffer m_content{};
125
126 Aws::String m_contentType;
127
128 Aws::String m_revision;
129
130 Aws::String m_versionLabel;
131
132 Aws::String m_requestId;
133 Aws::Http::HttpResponseCode m_HttpResponseCode;
134 bool m_contentHasBeenSet = false;
135 bool m_contentTypeHasBeenSet = false;
136 bool m_revisionHasBeenSet = false;
137 bool m_versionLabelHasBeenSet = false;
138 bool m_requestIdHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace AppConfigCloudExtension
143} // namespace Aws
AWS_APPCONFIGCLOUDEXTENSION_API GetConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPCONFIGCLOUDEXTENSION_API GetConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationResult & WithVersionLabel(VersionLabelT &&value)
GetConfigurationResult & WithRequestId(RequestIdT &&value)
GetConfigurationResult & WithRevision(RevisionT &&value)
AWS_APPCONFIGCLOUDEXTENSION_API GetConfigurationResult()=default
GetConfigurationResult & WithContentType(ContentTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue