AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetHostedConfigurationVersionResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace AppConfig
19{
20namespace Model
21{
23 {
24 public:
26 //We have to define these because Microsoft doesn't auto generate them
29 //we delete these because Microsoft doesn't handle move generation correctly
30 //and we therefore don't trust them to get it right here either.
33
34
37
38
39
41
44 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
45 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
46 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
47 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
49 inline GetHostedConfigurationVersionResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
50 inline GetHostedConfigurationVersionResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
52
54
57 inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
58 inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileId = value; }
59 inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileId = std::move(value); }
60 inline void SetConfigurationProfileId(const char* value) { m_configurationProfileId.assign(value); }
65
67
70 inline int GetVersionNumber() const{ return m_versionNumber; }
71 inline void SetVersionNumber(int value) { m_versionNumber = value; }
74
76
79 inline const Aws::String& GetDescription() const{ return m_description; }
80 inline void SetDescription(const Aws::String& value) { m_description = value; }
81 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
82 inline void SetDescription(const char* value) { m_description.assign(value); }
84 inline GetHostedConfigurationVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
85 inline GetHostedConfigurationVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
87
89
92 inline Aws::IOStream& GetContent() const { return m_content.GetUnderlyingStream(); }
93 inline void ReplaceBody(Aws::IOStream* body) { m_content = Aws::Utils::Stream::ResponseStream(body); }
94
96
98
103 inline const Aws::String& GetContentType() const{ return m_contentType; }
104 inline void SetContentType(const Aws::String& value) { m_contentType = value; }
105 inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
106 inline void SetContentType(const char* value) { m_contentType.assign(value); }
108 inline GetHostedConfigurationVersionResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
109 inline GetHostedConfigurationVersionResult& WithContentType(const char* value) { SetContentType(value); return *this;}
111
113
116 inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
117 inline void SetVersionLabel(const Aws::String& value) { m_versionLabel = value; }
118 inline void SetVersionLabel(Aws::String&& value) { m_versionLabel = std::move(value); }
119 inline void SetVersionLabel(const char* value) { m_versionLabel.assign(value); }
121 inline GetHostedConfigurationVersionResult& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
122 inline GetHostedConfigurationVersionResult& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
124
126
131 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
132 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; }
133 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); }
134 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); }
135 inline GetHostedConfigurationVersionResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
136 inline GetHostedConfigurationVersionResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
137 inline GetHostedConfigurationVersionResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const{ return m_requestId; }
143 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
144 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
145 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
146 inline GetHostedConfigurationVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
147 inline GetHostedConfigurationVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
148 inline GetHostedConfigurationVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
150 private:
151
152 Aws::String m_applicationId;
153
154 Aws::String m_configurationProfileId;
155
156 int m_versionNumber;
157
158 Aws::String m_description;
159
161
162 Aws::String m_contentType;
163
164 Aws::String m_versionLabel;
165
166 Aws::String m_kmsKeyArn;
167
168 Aws::String m_requestId;
169 };
170
171} // namespace Model
172} // namespace AppConfig
173} // namespace Aws
GetHostedConfigurationVersionResult & WithKmsKeyArn(const Aws::String &value)
GetHostedConfigurationVersionResult & WithDescription(const char *value)
GetHostedConfigurationVersionResult & WithConfigurationProfileId(const Aws::String &value)
AWS_APPCONFIG_API GetHostedConfigurationVersionResult & operator=(GetHostedConfigurationVersionResult &&)
GetHostedConfigurationVersionResult & WithContentType(const char *value)
GetHostedConfigurationVersionResult & WithContentType(const Aws::String &value)
GetHostedConfigurationVersionResult & WithRequestId(const char *value)
AWS_APPCONFIG_API GetHostedConfigurationVersionResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetHostedConfigurationVersionResult & WithApplicationId(Aws::String &&value)
GetHostedConfigurationVersionResult & WithVersionLabel(const Aws::String &value)
GetHostedConfigurationVersionResult & WithContentType(Aws::String &&value)
AWS_APPCONFIG_API GetHostedConfigurationVersionResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetHostedConfigurationVersionResult(const GetHostedConfigurationVersionResult &)=delete
GetHostedConfigurationVersionResult & WithRequestId(const Aws::String &value)
GetHostedConfigurationVersionResult & WithApplicationId(const Aws::String &value)
GetHostedConfigurationVersionResult & operator=(const GetHostedConfigurationVersionResult &)=delete
GetHostedConfigurationVersionResult & WithDescription(const Aws::String &value)
AWS_APPCONFIG_API GetHostedConfigurationVersionResult(GetHostedConfigurationVersionResult &&)
GetHostedConfigurationVersionResult & WithVersionLabel(Aws::String &&value)
GetHostedConfigurationVersionResult & WithVersionLabel(const char *value)
GetHostedConfigurationVersionResult & WithApplicationId(const char *value)
GetHostedConfigurationVersionResult & WithConfigurationProfileId(Aws::String &&value)
GetHostedConfigurationVersionResult & WithDescription(Aws::String &&value)
GetHostedConfigurationVersionResult & WithKmsKeyArn(const char *value)
GetHostedConfigurationVersionResult & WithRequestId(Aws::String &&value)
GetHostedConfigurationVersionResult & WithConfigurationProfileId(const char *value)
GetHostedConfigurationVersionResult & WithKmsKeyArn(Aws::String &&value)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String