AWS SDK for C++

AWS SDK for C++ Version 1.11.779

Loading...
Searching...
No Matches
GetGroupVersionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/Greengrass_EXPORTS.h>
10#include <aws/greengrass/model/GroupVersion.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 Greengrass {
24namespace Model {
26 public:
27 AWS_GREENGRASS_API GetGroupVersionResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetCreationTimestamp() const { return m_creationTimestamp; }
53 template <typename CreationTimestampT = Aws::String>
54 void SetCreationTimestamp(CreationTimestampT&& value) {
55 m_creationTimestampHasBeenSet = true;
56 m_creationTimestamp = std::forward<CreationTimestampT>(value);
57 }
58 template <typename CreationTimestampT = Aws::String>
59 GetGroupVersionResult& WithCreationTimestamp(CreationTimestampT&& value) {
60 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
61 return *this;
62 }
64
66
69 inline const GroupVersion& GetDefinition() const { return m_definition; }
70 template <typename DefinitionT = GroupVersion>
71 void SetDefinition(DefinitionT&& value) {
72 m_definitionHasBeenSet = true;
73 m_definition = std::forward<DefinitionT>(value);
74 }
75 template <typename DefinitionT = GroupVersion>
76 GetGroupVersionResult& WithDefinition(DefinitionT&& value) {
77 SetDefinition(std::forward<DefinitionT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetId() const { return m_id; }
87 template <typename IdT = Aws::String>
88 void SetId(IdT&& value) {
89 m_idHasBeenSet = true;
90 m_id = std::forward<IdT>(value);
91 }
92 template <typename IdT = Aws::String>
94 SetId(std::forward<IdT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetVersion() const { return m_version; }
104 template <typename VersionT = Aws::String>
105 void SetVersion(VersionT&& value) {
106 m_versionHasBeenSet = true;
107 m_version = std::forward<VersionT>(value);
108 }
109 template <typename VersionT = Aws::String>
111 SetVersion(std::forward<VersionT>(value));
112 return *this;
113 }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template <typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) {
121 m_requestIdHasBeenSet = true;
122 m_requestId = std::forward<RequestIdT>(value);
123 }
124 template <typename RequestIdT = Aws::String>
126 SetRequestId(std::forward<RequestIdT>(value));
127 return *this;
128 }
130 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
131
132 private:
133 Aws::String m_arn;
134
135 Aws::String m_creationTimestamp;
136
137 GroupVersion m_definition;
138
139 Aws::String m_id;
140
141 Aws::String m_version;
142
143 Aws::String m_requestId;
144 Aws::Http::HttpResponseCode m_HttpResponseCode;
145 bool m_arnHasBeenSet = false;
146 bool m_creationTimestampHasBeenSet = false;
147 bool m_definitionHasBeenSet = false;
148 bool m_idHasBeenSet = false;
149 bool m_versionHasBeenSet = false;
150 bool m_requestIdHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace Greengrass
155} // namespace Aws
AWS_GREENGRASS_API GetGroupVersionResult()=default
GetGroupVersionResult & WithCreationTimestamp(CreationTimestampT &&value)
GetGroupVersionResult & WithRequestId(RequestIdT &&value)
GetGroupVersionResult & WithDefinition(DefinitionT &&value)
GetGroupVersionResult & WithId(IdT &&value)
AWS_GREENGRASS_API GetGroupVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGroupVersionResult & WithVersion(VersionT &&value)
void SetCreationTimestamp(CreationTimestampT &&value)
GetGroupVersionResult & WithArn(ArnT &&value)
AWS_GREENGRASS_API GetGroupVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue