7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ram/RAM_EXPORTS.h>
11#include <aws/ram/model/ResourceShareFeatureSet.h>
12#include <aws/ram/model/ResourceShareStatus.h>
13#include <aws/ram/model/Tag.h>
47 template <
typename ResourceShareArnT = Aws::String>
49 m_resourceShareArnHasBeenSet =
true;
50 m_resourceShareArn = std::forward<ResourceShareArnT>(value);
52 template <
typename ResourceShareArnT = Aws::String>
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
83 template <
typename OwningAccountIdT = Aws::String>
85 m_owningAccountIdHasBeenSet =
true;
86 m_owningAccountId = std::forward<OwningAccountIdT>(value);
88 template <
typename OwningAccountIdT = Aws::String>
107 m_allowExternalPrincipalsHasBeenSet =
true;
108 m_allowExternalPrincipals = value;
123 m_statusHasBeenSet =
true;
138 template <
typename StatusMessageT = Aws::String>
140 m_statusMessageHasBeenSet =
true;
141 m_statusMessage = std::forward<StatusMessageT>(value);
143 template <
typename StatusMessageT = Aws::String>
156 template <
typename TagsT = Aws::Vector<Tag>>
158 m_tagsHasBeenSet =
true;
159 m_tags = std::forward<TagsT>(value);
161 template <
typename TagsT = Aws::Vector<Tag>>
163 SetTags(std::forward<TagsT>(value));
166 template <
typename TagsT = Tag>
168 m_tagsHasBeenSet =
true;
169 m_tags.emplace_back(std::forward<TagsT>(value));
180 template <
typename CreationTimeT = Aws::Utils::DateTime>
182 m_creationTimeHasBeenSet =
true;
183 m_creationTime = std::forward<CreationTimeT>(value);
185 template <
typename CreationTimeT = Aws::Utils::DateTime>
198 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
200 m_lastUpdatedTimeHasBeenSet =
true;
201 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
203 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
234 m_featureSetHasBeenSet =
true;
235 m_featureSet = value;
249 bool m_allowExternalPrincipals{
false};
262 bool m_resourceShareArnHasBeenSet =
false;
263 bool m_nameHasBeenSet =
false;
264 bool m_owningAccountIdHasBeenSet =
false;
265 bool m_allowExternalPrincipalsHasBeenSet =
false;
266 bool m_statusHasBeenSet =
false;
267 bool m_statusMessageHasBeenSet =
false;
268 bool m_tagsHasBeenSet =
false;
269 bool m_creationTimeHasBeenSet =
false;
270 bool m_lastUpdatedTimeHasBeenSet =
false;
271 bool m_featureSetHasBeenSet =
false;
void SetTags(TagsT &&value)
void SetStatusMessage(StatusMessageT &&value)
void SetName(NameT &&value)
void SetOwningAccountId(OwningAccountIdT &&value)
bool CreationTimeHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetOwningAccountId() const
ResourceShare & WithAllowExternalPrincipals(bool value)
bool LastUpdatedTimeHasBeenSet() const
ResourceShare & WithStatusMessage(StatusMessageT &&value)
void SetStatus(ResourceShareStatus value)
void SetResourceShareArn(ResourceShareArnT &&value)
const Aws::String & GetResourceShareArn() const
AWS_RAM_API ResourceShare(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
ResourceShare & WithCreationTime(CreationTimeT &&value)
bool AllowExternalPrincipalsHasBeenSet() const
ResourceShareFeatureSet GetFeatureSet() const
AWS_RAM_API ResourceShare & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceShareArnHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::String & GetStatusMessage() const
ResourceShare & WithResourceShareArn(ResourceShareArnT &&value)
ResourceShare & WithName(NameT &&value)
bool FeatureSetHasBeenSet() const
bool StatusMessageHasBeenSet() const
ResourceShare & WithStatus(ResourceShareStatus value)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceShare & WithTags(TagsT &&value)
const Aws::String & GetName() const
void SetAllowExternalPrincipals(bool value)
ResourceShare & AddTags(TagsT &&value)
bool GetAllowExternalPrincipals() const
const Aws::Vector< Tag > & GetTags() const
void SetFeatureSet(ResourceShareFeatureSet value)
bool OwningAccountIdHasBeenSet() const
AWS_RAM_API ResourceShare()=default
bool TagsHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
ResourceShare & WithOwningAccountId(OwningAccountIdT &&value)
ResourceShareStatus GetStatus() const
ResourceShare & WithFeatureSet(ResourceShareFeatureSet value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
ResourceShare & WithLastUpdatedTime(LastUpdatedTimeT &&value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue