AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceSet.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/fms/model/ResourceSetStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FMS
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_FMS_API ResourceSet();
41
42
44
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline ResourceSet& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline ResourceSet& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline ResourceSet& WithId(const char* value) { SetId(value); return *this;}
58
60
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
67 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
68 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
69 inline ResourceSet& WithName(const Aws::String& value) { SetName(value); return *this;}
70 inline ResourceSet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 inline ResourceSet& WithName(const char* value) { SetName(value); return *this;}
73
75
78 inline const Aws::String& GetDescription() const{ return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
81 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
82 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
83 inline ResourceSet& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
84 inline ResourceSet& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
85 inline ResourceSet& WithDescription(const char* value) { SetDescription(value); return *this;}
87
89
105 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
106 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
107 inline void SetUpdateToken(const Aws::String& value) { m_updateTokenHasBeenSet = true; m_updateToken = value; }
108 inline void SetUpdateToken(Aws::String&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::move(value); }
109 inline void SetUpdateToken(const char* value) { m_updateTokenHasBeenSet = true; m_updateToken.assign(value); }
110 inline ResourceSet& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
111 inline ResourceSet& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
112 inline ResourceSet& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
114
116
121 inline const Aws::Vector<Aws::String>& GetResourceTypeList() const{ return m_resourceTypeList; }
122 inline bool ResourceTypeListHasBeenSet() const { return m_resourceTypeListHasBeenSet; }
123 inline void SetResourceTypeList(const Aws::Vector<Aws::String>& value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList = value; }
124 inline void SetResourceTypeList(Aws::Vector<Aws::String>&& value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList = std::move(value); }
126 inline ResourceSet& WithResourceTypeList(Aws::Vector<Aws::String>&& value) { SetResourceTypeList(std::move(value)); return *this;}
127 inline ResourceSet& AddResourceTypeList(const Aws::String& value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList.push_back(value); return *this; }
128 inline ResourceSet& AddResourceTypeList(Aws::String&& value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList.push_back(std::move(value)); return *this; }
129 inline ResourceSet& AddResourceTypeList(const char* value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList.push_back(value); return *this; }
131
133
136 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
137 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
138 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
139 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
140 inline ResourceSet& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
141 inline ResourceSet& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
143
145
153 inline const ResourceSetStatus& GetResourceSetStatus() const{ return m_resourceSetStatus; }
154 inline bool ResourceSetStatusHasBeenSet() const { return m_resourceSetStatusHasBeenSet; }
155 inline void SetResourceSetStatus(const ResourceSetStatus& value) { m_resourceSetStatusHasBeenSet = true; m_resourceSetStatus = value; }
156 inline void SetResourceSetStatus(ResourceSetStatus&& value) { m_resourceSetStatusHasBeenSet = true; m_resourceSetStatus = std::move(value); }
157 inline ResourceSet& WithResourceSetStatus(const ResourceSetStatus& value) { SetResourceSetStatus(value); return *this;}
158 inline ResourceSet& WithResourceSetStatus(ResourceSetStatus&& value) { SetResourceSetStatus(std::move(value)); return *this;}
160 private:
161
162 Aws::String m_id;
163 bool m_idHasBeenSet = false;
164
165 Aws::String m_name;
166 bool m_nameHasBeenSet = false;
167
168 Aws::String m_description;
169 bool m_descriptionHasBeenSet = false;
170
171 Aws::String m_updateToken;
172 bool m_updateTokenHasBeenSet = false;
173
174 Aws::Vector<Aws::String> m_resourceTypeList;
175 bool m_resourceTypeListHasBeenSet = false;
176
177 Aws::Utils::DateTime m_lastUpdateTime;
178 bool m_lastUpdateTimeHasBeenSet = false;
179
180 ResourceSetStatus m_resourceSetStatus;
181 bool m_resourceSetStatusHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace FMS
186} // namespace Aws
void SetDescription(const Aws::String &value)
Definition ResourceSet.h:80
void SetId(const Aws::String &value)
Definition ResourceSet.h:51
void SetName(const char *value)
Definition ResourceSet.h:68
const Aws::String & GetId() const
Definition ResourceSet.h:49
bool ResourceTypeListHasBeenSet() const
ResourceSet & WithUpdateToken(const Aws::String &value)
ResourceSet & WithLastUpdateTime(const Aws::Utils::DateTime &value)
void SetResourceSetStatus(ResourceSetStatus &&value)
ResourceSet & WithId(Aws::String &&value)
Definition ResourceSet.h:55
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceSet & WithResourceTypeList(Aws::Vector< Aws::String > &&value)
ResourceSet & WithResourceSetStatus(ResourceSetStatus &&value)
ResourceSet & WithUpdateToken(const char *value)
ResourceSet & WithResourceSetStatus(const ResourceSetStatus &value)
ResourceSet & WithName(Aws::String &&value)
Definition ResourceSet.h:70
void SetDescription(const char *value)
Definition ResourceSet.h:82
ResourceSet & WithName(const Aws::String &value)
Definition ResourceSet.h:69
ResourceSet & AddResourceTypeList(Aws::String &&value)
void SetUpdateToken(const char *value)
ResourceSet & WithDescription(const Aws::String &value)
Definition ResourceSet.h:83
void SetUpdateToken(Aws::String &&value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_FMS_API ResourceSet(Aws::Utils::Json::JsonView jsonValue)
ResourceSet & WithId(const Aws::String &value)
Definition ResourceSet.h:54
ResourceSet & WithUpdateToken(Aws::String &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
ResourceSet & AddResourceTypeList(const char *value)
ResourceSet & WithId(const char *value)
Definition ResourceSet.h:56
const Aws::String & GetDescription() const
Definition ResourceSet.h:78
void SetResourceSetStatus(const ResourceSetStatus &value)
const ResourceSetStatus & GetResourceSetStatus() const
void SetResourceTypeList(Aws::Vector< Aws::String > &&value)
bool DescriptionHasBeenSet() const
Definition ResourceSet.h:79
AWS_FMS_API ResourceSet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
Definition ResourceSet.h:67
bool LastUpdateTimeHasBeenSet() const
void SetName(const Aws::String &value)
Definition ResourceSet.h:66
const Aws::String & GetUpdateToken() const
const Aws::String & GetName() const
Definition ResourceSet.h:64
ResourceSet & WithResourceTypeList(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetResourceTypeList() const
ResourceSet & WithDescription(const char *value)
Definition ResourceSet.h:85
void SetId(Aws::String &&value)
Definition ResourceSet.h:52
bool ResourceSetStatusHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdateTime() const
ResourceSet & AddResourceTypeList(const Aws::String &value)
ResourceSet & WithName(const char *value)
Definition ResourceSet.h:71
void SetDescription(Aws::String &&value)
Definition ResourceSet.h:81
void SetResourceTypeList(const Aws::Vector< Aws::String > &value)
void SetId(const char *value)
Definition ResourceSet.h:53
void SetUpdateToken(const Aws::String &value)
ResourceSet & WithLastUpdateTime(Aws::Utils::DateTime &&value)
ResourceSet & WithDescription(Aws::String &&value)
Definition ResourceSet.h:84
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue