AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLatestConfigurationResult.h
1
6#pragma once
7#include <aws/appconfigdata/AppConfigData_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 AppConfigData
19{
20namespace Model
21{
23 {
24 public:
25 AWS_APPCONFIGDATA_API GetLatestConfigurationResult();
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
49 inline const Aws::String& GetNextPollConfigurationToken() const{ return m_nextPollConfigurationToken; }
50 inline void SetNextPollConfigurationToken(const Aws::String& value) { m_nextPollConfigurationToken = value; }
51 inline void SetNextPollConfigurationToken(Aws::String&& value) { m_nextPollConfigurationToken = std::move(value); }
52 inline void SetNextPollConfigurationToken(const char* value) { m_nextPollConfigurationToken.assign(value); }
57
59
64 inline int GetNextPollIntervalInSeconds() const{ return m_nextPollIntervalInSeconds; }
65 inline void SetNextPollIntervalInSeconds(int value) { m_nextPollIntervalInSeconds = value; }
68
70
73 inline const Aws::String& GetContentType() const{ return m_contentType; }
74 inline void SetContentType(const Aws::String& value) { m_contentType = value; }
75 inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
76 inline void SetContentType(const char* value) { m_contentType.assign(value); }
77 inline GetLatestConfigurationResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
78 inline GetLatestConfigurationResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
79 inline GetLatestConfigurationResult& WithContentType(const char* value) { SetContentType(value); return *this;}
81
83
87 inline Aws::IOStream& GetConfiguration() const { return m_configuration.GetUnderlyingStream(); }
88 inline void ReplaceBody(Aws::IOStream* body) { m_configuration = Aws::Utils::Stream::ResponseStream(body); }
89
91
93
99 inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
100 inline void SetVersionLabel(const Aws::String& value) { m_versionLabel = value; }
101 inline void SetVersionLabel(Aws::String&& value) { m_versionLabel = std::move(value); }
102 inline void SetVersionLabel(const char* value) { m_versionLabel.assign(value); }
103 inline GetLatestConfigurationResult& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
104 inline GetLatestConfigurationResult& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
105 inline GetLatestConfigurationResult& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
107
109
110 inline const Aws::String& GetRequestId() const{ return m_requestId; }
111 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
112 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
113 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
114 inline GetLatestConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
115 inline GetLatestConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
116 inline GetLatestConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
118 private:
119
120 Aws::String m_nextPollConfigurationToken;
121
122 int m_nextPollIntervalInSeconds;
123
124 Aws::String m_contentType;
125
127
128 Aws::String m_versionLabel;
129
130 Aws::String m_requestId;
131 };
132
133} // namespace Model
134} // namespace AppConfigData
135} // namespace Aws
GetLatestConfigurationResult(const GetLatestConfigurationResult &)=delete
GetLatestConfigurationResult & WithRequestId(Aws::String &&value)
AWS_APPCONFIGDATA_API GetLatestConfigurationResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetLatestConfigurationResult & operator=(const GetLatestConfigurationResult &)=delete
GetLatestConfigurationResult & WithNextPollIntervalInSeconds(int value)
AWS_APPCONFIGDATA_API GetLatestConfigurationResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetLatestConfigurationResult & WithVersionLabel(const char *value)
GetLatestConfigurationResult & WithVersionLabel(Aws::String &&value)
GetLatestConfigurationResult & WithVersionLabel(const Aws::String &value)
GetLatestConfigurationResult & WithNextPollConfigurationToken(const Aws::String &value)
GetLatestConfigurationResult & WithContentType(const char *value)
AWS_APPCONFIGDATA_API GetLatestConfigurationResult & operator=(GetLatestConfigurationResult &&)
GetLatestConfigurationResult & WithRequestId(const char *value)
GetLatestConfigurationResult & WithNextPollConfigurationToken(const char *value)
GetLatestConfigurationResult & WithContentType(const Aws::String &value)
GetLatestConfigurationResult & WithContentType(Aws::String &&value)
AWS_APPCONFIGDATA_API GetLatestConfigurationResult(GetLatestConfigurationResult &&)
GetLatestConfigurationResult & WithNextPollConfigurationToken(Aws::String &&value)
GetLatestConfigurationResult & WithRequestId(const 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