AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGroupResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Greengrass
24{
25namespace Model
26{
28 {
29 public:
30 AWS_GREENGRASS_API CreateGroupResult();
33
34
36
39 inline const Aws::String& GetArn() const{ return m_arn; }
40 inline void SetArn(const Aws::String& value) { m_arn = value; }
41 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
42 inline void SetArn(const char* value) { m_arn.assign(value); }
43 inline CreateGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
44 inline CreateGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
45 inline CreateGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
47
49
52 inline const Aws::String& GetCreationTimestamp() const{ return m_creationTimestamp; }
53 inline void SetCreationTimestamp(const Aws::String& value) { m_creationTimestamp = value; }
54 inline void SetCreationTimestamp(Aws::String&& value) { m_creationTimestamp = std::move(value); }
55 inline void SetCreationTimestamp(const char* value) { m_creationTimestamp.assign(value); }
56 inline CreateGroupResult& WithCreationTimestamp(const Aws::String& value) { SetCreationTimestamp(value); return *this;}
57 inline CreateGroupResult& WithCreationTimestamp(Aws::String&& value) { SetCreationTimestamp(std::move(value)); return *this;}
58 inline CreateGroupResult& WithCreationTimestamp(const char* value) { SetCreationTimestamp(value); return *this;}
60
62
65 inline const Aws::String& GetId() const{ return m_id; }
66 inline void SetId(const Aws::String& value) { m_id = value; }
67 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
68 inline void SetId(const char* value) { m_id.assign(value); }
69 inline CreateGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline CreateGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline CreateGroupResult& WithId(const char* value) { SetId(value); return *this;}
73
75
78 inline const Aws::String& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
79 inline void SetLastUpdatedTimestamp(const Aws::String& value) { m_lastUpdatedTimestamp = value; }
80 inline void SetLastUpdatedTimestamp(Aws::String&& value) { m_lastUpdatedTimestamp = std::move(value); }
81 inline void SetLastUpdatedTimestamp(const char* value) { m_lastUpdatedTimestamp.assign(value); }
83 inline CreateGroupResult& WithLastUpdatedTimestamp(Aws::String&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;}
84 inline CreateGroupResult& WithLastUpdatedTimestamp(const char* value) { SetLastUpdatedTimestamp(value); return *this;}
86
88
91 inline const Aws::String& GetLatestVersion() const{ return m_latestVersion; }
92 inline void SetLatestVersion(const Aws::String& value) { m_latestVersion = value; }
93 inline void SetLatestVersion(Aws::String&& value) { m_latestVersion = std::move(value); }
94 inline void SetLatestVersion(const char* value) { m_latestVersion.assign(value); }
95 inline CreateGroupResult& WithLatestVersion(const Aws::String& value) { SetLatestVersion(value); return *this;}
96 inline CreateGroupResult& WithLatestVersion(Aws::String&& value) { SetLatestVersion(std::move(value)); return *this;}
97 inline CreateGroupResult& WithLatestVersion(const char* value) { SetLatestVersion(value); return *this;}
99
101
104 inline const Aws::String& GetLatestVersionArn() const{ return m_latestVersionArn; }
105 inline void SetLatestVersionArn(const Aws::String& value) { m_latestVersionArn = value; }
106 inline void SetLatestVersionArn(Aws::String&& value) { m_latestVersionArn = std::move(value); }
107 inline void SetLatestVersionArn(const char* value) { m_latestVersionArn.assign(value); }
108 inline CreateGroupResult& WithLatestVersionArn(const Aws::String& value) { SetLatestVersionArn(value); return *this;}
109 inline CreateGroupResult& WithLatestVersionArn(Aws::String&& value) { SetLatestVersionArn(std::move(value)); return *this;}
110 inline CreateGroupResult& WithLatestVersionArn(const char* value) { SetLatestVersionArn(value); return *this;}
112
114
117 inline const Aws::String& GetName() const{ return m_name; }
118 inline void SetName(const Aws::String& value) { m_name = value; }
119 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
120 inline void SetName(const char* value) { m_name.assign(value); }
121 inline CreateGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
122 inline CreateGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
123 inline CreateGroupResult& WithName(const char* value) { SetName(value); return *this;}
125
127
128 inline const Aws::String& GetRequestId() const{ return m_requestId; }
129 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
130 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
131 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
132 inline CreateGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
133 inline CreateGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
134 inline CreateGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
136 private:
137
138 Aws::String m_arn;
139
140 Aws::String m_creationTimestamp;
141
142 Aws::String m_id;
143
144 Aws::String m_lastUpdatedTimestamp;
145
146 Aws::String m_latestVersion;
147
148 Aws::String m_latestVersionArn;
149
150 Aws::String m_name;
151
152 Aws::String m_requestId;
153 };
154
155} // namespace Model
156} // namespace Greengrass
157} // namespace Aws
CreateGroupResult & WithLastUpdatedTimestamp(const char *value)
CreateGroupResult & WithId(Aws::String &&value)
CreateGroupResult & WithRequestId(const char *value)
AWS_GREENGRASS_API CreateGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetLatestVersionArn() const
CreateGroupResult & WithLatestVersion(const Aws::String &value)
void SetLatestVersionArn(const Aws::String &value)
void SetCreationTimestamp(const Aws::String &value)
CreateGroupResult & WithCreationTimestamp(Aws::String &&value)
CreateGroupResult & WithName(const Aws::String &value)
CreateGroupResult & WithArn(const Aws::String &value)
CreateGroupResult & WithRequestId(const Aws::String &value)
CreateGroupResult & WithCreationTimestamp(const Aws::String &value)
CreateGroupResult & WithArn(Aws::String &&value)
const Aws::String & GetCreationTimestamp() const
const Aws::String & GetLatestVersion() const
void SetId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
CreateGroupResult & WithName(Aws::String &&value)
CreateGroupResult & WithLastUpdatedTimestamp(Aws::String &&value)
CreateGroupResult & WithLatestVersion(Aws::String &&value)
CreateGroupResult & WithId(const char *value)
CreateGroupResult & WithId(const Aws::String &value)
CreateGroupResult & WithName(const char *value)
void SetName(const Aws::String &value)
void SetLatestVersion(const Aws::String &value)
CreateGroupResult & WithArn(const char *value)
CreateGroupResult & WithRequestId(Aws::String &&value)
const Aws::String & GetLastUpdatedTimestamp() const
CreateGroupResult & WithLatestVersion(const char *value)
AWS_GREENGRASS_API CreateGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGroupResult & WithLatestVersionArn(const char *value)
void SetCreationTimestamp(Aws::String &&value)
void SetLastUpdatedTimestamp(const Aws::String &value)
void SetLastUpdatedTimestamp(Aws::String &&value)
CreateGroupResult & WithCreationTimestamp(const char *value)
CreateGroupResult & WithLastUpdatedTimestamp(const Aws::String &value)
CreateGroupResult & WithLatestVersionArn(const Aws::String &value)
void SetArn(const Aws::String &value)
CreateGroupResult & WithLatestVersionArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue