AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSubscriptionDefinitionResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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 GetSubscriptionDefinitionResult();
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 GetSubscriptionDefinitionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline GetSubscriptionDefinitionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline GetSubscriptionDefinitionResult& 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); }
59 inline GetSubscriptionDefinitionResult& WithCreationTimestamp(const char* value) { SetCreationTimestamp(value); return *this;}
61
63
66 inline const Aws::String& GetId() const{ return m_id; }
67 inline void SetId(const Aws::String& value) { m_id = value; }
68 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
69 inline void SetId(const char* value) { m_id.assign(value); }
70 inline GetSubscriptionDefinitionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
71 inline GetSubscriptionDefinitionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
72 inline GetSubscriptionDefinitionResult& WithId(const char* value) { SetId(value); return *this;}
74
76
79 inline const Aws::String& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
80 inline void SetLastUpdatedTimestamp(const Aws::String& value) { m_lastUpdatedTimestamp = value; }
81 inline void SetLastUpdatedTimestamp(Aws::String&& value) { m_lastUpdatedTimestamp = std::move(value); }
82 inline void SetLastUpdatedTimestamp(const char* value) { m_lastUpdatedTimestamp.assign(value); }
85 inline GetSubscriptionDefinitionResult& WithLastUpdatedTimestamp(const char* value) { SetLastUpdatedTimestamp(value); return *this;}
87
89
92 inline const Aws::String& GetLatestVersion() const{ return m_latestVersion; }
93 inline void SetLatestVersion(const Aws::String& value) { m_latestVersion = value; }
94 inline void SetLatestVersion(Aws::String&& value) { m_latestVersion = std::move(value); }
95 inline void SetLatestVersion(const char* value) { m_latestVersion.assign(value); }
97 inline GetSubscriptionDefinitionResult& WithLatestVersion(Aws::String&& value) { SetLatestVersion(std::move(value)); return *this;}
98 inline GetSubscriptionDefinitionResult& WithLatestVersion(const char* value) { SetLatestVersion(value); return *this;}
100
102
105 inline const Aws::String& GetLatestVersionArn() const{ return m_latestVersionArn; }
106 inline void SetLatestVersionArn(const Aws::String& value) { m_latestVersionArn = value; }
107 inline void SetLatestVersionArn(Aws::String&& value) { m_latestVersionArn = std::move(value); }
108 inline void SetLatestVersionArn(const char* value) { m_latestVersionArn.assign(value); }
110 inline GetSubscriptionDefinitionResult& WithLatestVersionArn(Aws::String&& value) { SetLatestVersionArn(std::move(value)); return *this;}
111 inline GetSubscriptionDefinitionResult& WithLatestVersionArn(const char* value) { SetLatestVersionArn(value); return *this;}
113
115
118 inline const Aws::String& GetName() const{ return m_name; }
119 inline void SetName(const Aws::String& value) { m_name = value; }
120 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
121 inline void SetName(const char* value) { m_name.assign(value); }
122 inline GetSubscriptionDefinitionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
123 inline GetSubscriptionDefinitionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
124 inline GetSubscriptionDefinitionResult& WithName(const char* value) { SetName(value); return *this;}
126
128
131 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
132 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
133 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
135 inline GetSubscriptionDefinitionResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
136 inline GetSubscriptionDefinitionResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
137 inline GetSubscriptionDefinitionResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
138 inline GetSubscriptionDefinitionResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
139 inline GetSubscriptionDefinitionResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
140 inline GetSubscriptionDefinitionResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
141 inline GetSubscriptionDefinitionResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
142 inline GetSubscriptionDefinitionResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
144
146
147 inline const Aws::String& GetRequestId() const{ return m_requestId; }
148 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
149 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
150 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
151 inline GetSubscriptionDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
152 inline GetSubscriptionDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
153 inline GetSubscriptionDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
155 private:
156
157 Aws::String m_arn;
158
159 Aws::String m_creationTimestamp;
160
161 Aws::String m_id;
162
163 Aws::String m_lastUpdatedTimestamp;
164
165 Aws::String m_latestVersion;
166
167 Aws::String m_latestVersionArn;
168
169 Aws::String m_name;
170
172
173 Aws::String m_requestId;
174 };
175
176} // namespace Model
177} // namespace Greengrass
178} // namespace Aws
GetSubscriptionDefinitionResult & WithName(const Aws::String &value)
GetSubscriptionDefinitionResult & WithLastUpdatedTimestamp(Aws::String &&value)
GetSubscriptionDefinitionResult & WithRequestId(const char *value)
GetSubscriptionDefinitionResult & WithId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetSubscriptionDefinitionResult & WithId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetSubscriptionDefinitionResult & WithCreationTimestamp(const Aws::String &value)
GetSubscriptionDefinitionResult & WithName(const char *value)
GetSubscriptionDefinitionResult & WithLastUpdatedTimestamp(const char *value)
GetSubscriptionDefinitionResult & AddTags(Aws::String &&key, const char *value)
GetSubscriptionDefinitionResult & WithCreationTimestamp(Aws::String &&value)
GetSubscriptionDefinitionResult & WithCreationTimestamp(const char *value)
GetSubscriptionDefinitionResult & AddTags(const char *key, const char *value)
GetSubscriptionDefinitionResult & WithLatestVersionArn(const char *value)
GetSubscriptionDefinitionResult & WithLatestVersion(const Aws::String &value)
GetSubscriptionDefinitionResult & WithLatestVersionArn(Aws::String &&value)
GetSubscriptionDefinitionResult & WithName(Aws::String &&value)
GetSubscriptionDefinitionResult & WithArn(const Aws::String &value)
GetSubscriptionDefinitionResult & WithId(const char *value)
GetSubscriptionDefinitionResult & AddTags(const Aws::String &key, Aws::String &&value)
GetSubscriptionDefinitionResult & WithLatestVersion(const char *value)
AWS_GREENGRASS_API GetSubscriptionDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionDefinitionResult & WithRequestId(const Aws::String &value)
GetSubscriptionDefinitionResult & AddTags(Aws::String &&key, Aws::String &&value)
GetSubscriptionDefinitionResult & WithLastUpdatedTimestamp(const Aws::String &value)
GetSubscriptionDefinitionResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetSubscriptionDefinitionResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetSubscriptionDefinitionResult & WithLatestVersion(Aws::String &&value)
GetSubscriptionDefinitionResult & WithRequestId(Aws::String &&value)
AWS_GREENGRASS_API GetSubscriptionDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionDefinitionResult & AddTags(Aws::String &&key, const Aws::String &value)
GetSubscriptionDefinitionResult & WithArn(const char *value)
GetSubscriptionDefinitionResult & WithArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetSubscriptionDefinitionResult & AddTags(const Aws::String &key, const Aws::String &value)
GetSubscriptionDefinitionResult & WithLatestVersionArn(const Aws::String &value)
GetSubscriptionDefinitionResult & AddTags(const char *key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue