AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
28 //we delete these because Microsoft doesn't handle move generation correctly
29 //and we therefore don't trust them to get it right here either.
32
33
36
37
38
40
48 inline const Aws::String& GetNextPollConfigurationToken() const { return m_nextPollConfigurationToken; }
49 template<typename NextPollConfigurationTokenT = Aws::String>
50 void SetNextPollConfigurationToken(NextPollConfigurationTokenT&& value) { m_nextPollConfigurationTokenHasBeenSet = true; m_nextPollConfigurationToken = std::forward<NextPollConfigurationTokenT>(value); }
51 template<typename NextPollConfigurationTokenT = Aws::String>
52 GetLatestConfigurationResult& WithNextPollConfigurationToken(NextPollConfigurationTokenT&& value) { SetNextPollConfigurationToken(std::forward<NextPollConfigurationTokenT>(value)); return *this;}
54
56
61 inline int GetNextPollIntervalInSeconds() const { return m_nextPollIntervalInSeconds; }
62 inline void SetNextPollIntervalInSeconds(int value) { m_nextPollIntervalInSecondsHasBeenSet = true; m_nextPollIntervalInSeconds = value; }
65
67
70 inline const Aws::String& GetContentType() const { return m_contentType; }
71 template<typename ContentTypeT = Aws::String>
72 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
73 template<typename ContentTypeT = Aws::String>
74 GetLatestConfigurationResult& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
76
78
82 inline Aws::IOStream& GetConfiguration() const { return m_configuration.GetUnderlyingStream(); }
83 inline void ReplaceBody(Aws::IOStream* body) { m_configuration = Aws::Utils::Stream::ResponseStream(body); }
84
86
88
94 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
95 template<typename VersionLabelT = Aws::String>
96 void SetVersionLabel(VersionLabelT&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::forward<VersionLabelT>(value); }
97 template<typename VersionLabelT = Aws::String>
98 GetLatestConfigurationResult& WithVersionLabel(VersionLabelT&& value) { SetVersionLabel(std::forward<VersionLabelT>(value)); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template<typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
106 template<typename RequestIdT = Aws::String>
107 GetLatestConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
109 private:
110
111 Aws::String m_nextPollConfigurationToken;
112 bool m_nextPollConfigurationTokenHasBeenSet = false;
113
114 int m_nextPollIntervalInSeconds{0};
115 bool m_nextPollIntervalInSecondsHasBeenSet = false;
116
117 Aws::String m_contentType;
118 bool m_contentTypeHasBeenSet = false;
119
120 Aws::Utils::Stream::ResponseStream m_configuration{};
121 bool m_configurationHasBeenSet = false;
122
123 Aws::String m_versionLabel;
124 bool m_versionLabelHasBeenSet = false;
125
126 Aws::String m_requestId;
127 bool m_requestIdHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace AppConfigData
132} // namespace Aws
GetLatestConfigurationResult(const GetLatestConfigurationResult &)=delete
GetLatestConfigurationResult & WithVersionLabel(VersionLabelT &&value)
AWS_APPCONFIGDATA_API GetLatestConfigurationResult()=default
AWS_APPCONFIGDATA_API GetLatestConfigurationResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetLatestConfigurationResult & operator=(const GetLatestConfigurationResult &)=delete
GetLatestConfigurationResult & WithRequestId(RequestIdT &&value)
GetLatestConfigurationResult & WithNextPollIntervalInSeconds(int value)
AWS_APPCONFIGDATA_API GetLatestConfigurationResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetLatestConfigurationResult & WithContentType(ContentTypeT &&value)
GetLatestConfigurationResult & WithNextPollConfigurationToken(NextPollConfigurationTokenT &&value)
AWS_APPCONFIGDATA_API GetLatestConfigurationResult(GetLatestConfigurationResult &&)=default
AWS_APPCONFIGDATA_API GetLatestConfigurationResult & operator=(GetLatestConfigurationResult &&)=default
void SetNextPollConfigurationToken(NextPollConfigurationTokenT &&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