AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline GetGroupVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline GetGroupVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline GetGroupVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetCreationTimestamp() const{ return m_creationTimestamp; }
54 inline void SetCreationTimestamp(const Aws::String& value) { m_creationTimestamp = value; }
55 inline void SetCreationTimestamp(Aws::String&& value) { m_creationTimestamp = std::move(value); }
56 inline void SetCreationTimestamp(const char* value) { m_creationTimestamp.assign(value); }
57 inline GetGroupVersionResult& WithCreationTimestamp(const Aws::String& value) { SetCreationTimestamp(value); return *this;}
58 inline GetGroupVersionResult& WithCreationTimestamp(Aws::String&& value) { SetCreationTimestamp(std::move(value)); return *this;}
59 inline GetGroupVersionResult& WithCreationTimestamp(const char* value) { SetCreationTimestamp(value); return *this;}
61
63
66 inline const GroupVersion& GetDefinition() const{ return m_definition; }
67 inline void SetDefinition(const GroupVersion& value) { m_definition = value; }
68 inline void SetDefinition(GroupVersion&& value) { m_definition = std::move(value); }
69 inline GetGroupVersionResult& WithDefinition(const GroupVersion& value) { SetDefinition(value); return *this;}
70 inline GetGroupVersionResult& WithDefinition(GroupVersion&& value) { SetDefinition(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetId() const{ return m_id; }
78 inline void SetId(const Aws::String& value) { m_id = value; }
79 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
80 inline void SetId(const char* value) { m_id.assign(value); }
81 inline GetGroupVersionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
82 inline GetGroupVersionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
83 inline GetGroupVersionResult& WithId(const char* value) { SetId(value); return *this;}
85
87
90 inline const Aws::String& GetVersion() const{ return m_version; }
91 inline void SetVersion(const Aws::String& value) { m_version = value; }
92 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
93 inline void SetVersion(const char* value) { m_version.assign(value); }
94 inline GetGroupVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
95 inline GetGroupVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
96 inline GetGroupVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline GetGroupVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline GetGroupVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline GetGroupVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_arn;
112
113 Aws::String m_creationTimestamp;
114
115 GroupVersion m_definition;
116
117 Aws::String m_id;
118
119 Aws::String m_version;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace Greengrass
126} // namespace Aws
GetGroupVersionResult & WithVersion(Aws::String &&value)
GetGroupVersionResult & WithRequestId(const char *value)
GetGroupVersionResult & WithDefinition(GroupVersion &&value)
GetGroupVersionResult & WithCreationTimestamp(Aws::String &&value)
GetGroupVersionResult & WithRequestId(const Aws::String &value)
GetGroupVersionResult & WithDefinition(const GroupVersion &value)
GetGroupVersionResult & WithRequestId(Aws::String &&value)
GetGroupVersionResult & WithArn(const Aws::String &value)
GetGroupVersionResult & WithId(const Aws::String &value)
void SetCreationTimestamp(const Aws::String &value)
GetGroupVersionResult & WithId(const char *value)
GetGroupVersionResult & WithCreationTimestamp(const Aws::String &value)
AWS_GREENGRASS_API GetGroupVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGroupVersionResult & WithId(Aws::String &&value)
GetGroupVersionResult & WithArn(Aws::String &&value)
GetGroupVersionResult & WithVersion(const char *value)
GetGroupVersionResult & WithVersion(const Aws::String &value)
GetGroupVersionResult & WithCreationTimestamp(const char *value)
AWS_GREENGRASS_API GetGroupVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGroupVersionResult & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue