AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetGroupVersionResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/model/GroupVersion.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Greengrass
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GREENGRASS_API GetGroupVersionResult() = default;
34
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template<typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
43 template<typename ArnT = Aws::String>
44 GetGroupVersionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetCreationTimestamp() const { return m_creationTimestamp; }
52 template<typename CreationTimestampT = Aws::String>
53 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
54 template<typename CreationTimestampT = Aws::String>
55 GetGroupVersionResult& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
57
59
62 inline const GroupVersion& GetDefinition() const { return m_definition; }
63 template<typename DefinitionT = GroupVersion>
64 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
65 template<typename DefinitionT = GroupVersion>
66 GetGroupVersionResult& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
68
70
73 inline const Aws::String& GetId() const { return m_id; }
74 template<typename IdT = Aws::String>
75 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
76 template<typename IdT = Aws::String>
77 GetGroupVersionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
79
81
84 inline const Aws::String& GetVersion() const { return m_version; }
85 template<typename VersionT = Aws::String>
86 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
87 template<typename VersionT = Aws::String>
88 GetGroupVersionResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const { return m_requestId; }
94 template<typename RequestIdT = Aws::String>
95 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
96 template<typename RequestIdT = Aws::String>
97 GetGroupVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
99 private:
100
101 Aws::String m_arn;
102 bool m_arnHasBeenSet = false;
103
104 Aws::String m_creationTimestamp;
105 bool m_creationTimestampHasBeenSet = false;
106
107 GroupVersion m_definition;
108 bool m_definitionHasBeenSet = false;
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_version;
114 bool m_versionHasBeenSet = false;
115
116 Aws::String m_requestId;
117 bool m_requestIdHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Greengrass
122} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue