7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/model/ResourceShareStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ram/model/ResourceShareFeatureSet.h>
13#include <aws/ram/model/Tag.h>
53 template<
typename ResourceShareArnT = Aws::String>
54 void SetResourceShareArn(ResourceShareArnT&& value) { m_resourceShareArnHasBeenSet =
true; m_resourceShareArn = std::forward<ResourceShareArnT>(value); }
55 template<
typename ResourceShareArnT = Aws::String>
65 template<
typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
67 template<
typename NameT = Aws::String>
77 template<
typename OwningAccountIdT = Aws::String>
78 void SetOwningAccountId(OwningAccountIdT&& value) { m_owningAccountIdHasBeenSet =
true; m_owningAccountId = std::forward<OwningAccountIdT>(value); }
79 template<
typename OwningAccountIdT = Aws::String>
114 template<
typename StatusMessageT = Aws::String>
115 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
116 template<
typename StatusMessageT = Aws::String>
126 template<
typename TagsT = Aws::Vector<Tag>>
127 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
128 template<
typename TagsT = Aws::Vector<Tag>>
130 template<
typename TagsT = Tag>
131 ResourceShare&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
140 template<
typename CreationTimeT = Aws::Utils::DateTime>
141 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
142 template<
typename CreationTimeT = Aws::Utils::DateTime>
152 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
153 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
154 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
187 bool m_resourceShareArnHasBeenSet =
false;
190 bool m_nameHasBeenSet =
false;
193 bool m_owningAccountIdHasBeenSet =
false;
195 bool m_allowExternalPrincipals{
false};
196 bool m_allowExternalPrincipalsHasBeenSet =
false;
199 bool m_statusHasBeenSet =
false;
202 bool m_statusMessageHasBeenSet =
false;
205 bool m_tagsHasBeenSet =
false;
208 bool m_creationTimeHasBeenSet =
false;
211 bool m_lastUpdatedTimeHasBeenSet =
false;
214 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