7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/AppVisibility.h>
9#include <aws/appstream/model/EntitlementAttribute.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
50 template <
typename NameT = Aws::String>
52 m_nameHasBeenSet =
true;
53 m_name = std::forward<NameT>(value);
55 template <
typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
68 template <
typename StackNameT = Aws::String>
70 m_stackNameHasBeenSet =
true;
71 m_stackName = std::forward<StackNameT>(value);
73 template <
typename StackNameT = Aws::String>
86 template <
typename DescriptionT = Aws::String>
88 m_descriptionHasBeenSet =
true;
89 m_description = std::forward<DescriptionT>(value);
91 template <
typename DescriptionT = Aws::String>
105 m_appVisibilityHasBeenSet =
true;
106 m_appVisibility = value;
120 template <
typename AttributesT = Aws::Vector<EntitlementAttribute>>
122 m_attributesHasBeenSet =
true;
123 m_attributes = std::forward<AttributesT>(value);
125 template <
typename AttributesT = Aws::Vector<EntitlementAttribute>>
130 template <
typename AttributesT = EntitlementAttribute>
132 m_attributesHasBeenSet =
true;
133 m_attributes.emplace_back(std::forward<AttributesT>(value));
144 template <
typename CreatedTimeT = Aws::Utils::DateTime>
146 m_createdTimeHasBeenSet =
true;
147 m_createdTime = std::forward<CreatedTimeT>(value);
149 template <
typename CreatedTimeT = Aws::Utils::DateTime>
162 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
164 m_lastModifiedTimeHasBeenSet =
true;
165 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
167 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
187 bool m_nameHasBeenSet =
false;
188 bool m_stackNameHasBeenSet =
false;
189 bool m_descriptionHasBeenSet =
false;
190 bool m_appVisibilityHasBeenSet =
false;
191 bool m_attributesHasBeenSet =
false;
192 bool m_createdTimeHasBeenSet =
false;
193 bool m_lastModifiedTimeHasBeenSet =
false;
Entitlement & WithStackName(StackNameT &&value)
bool StackNameHasBeenSet() const
Entitlement & WithName(NameT &&value)
const Aws::Vector< EntitlementAttribute > & GetAttributes() const
bool AppVisibilityHasBeenSet() const
bool CreatedTimeHasBeenSet() const
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
Entitlement & WithAppVisibility(AppVisibility value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
Entitlement & WithAttributes(AttributesT &&value)
void SetName(NameT &&value)
const Aws::String & GetStackName() const
void SetAttributes(AttributesT &&value)
Entitlement & WithDescription(DescriptionT &&value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetCreatedTime(CreatedTimeT &&value)
AWS_APPSTREAM_API Entitlement & operator=(Aws::Utils::Json::JsonView jsonValue)
Entitlement & WithLastModifiedTime(LastModifiedTimeT &&value)
AppVisibility GetAppVisibility() const
void SetStackName(StackNameT &&value)
bool LastModifiedTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_APPSTREAM_API Entitlement()=default
AWS_APPSTREAM_API Entitlement(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
Entitlement & WithCreatedTime(CreatedTimeT &&value)
bool AttributesHasBeenSet() const
Entitlement & AddAttributes(AttributesT &&value)
bool NameHasBeenSet() const
void SetAppVisibility(AppVisibility value)
const Aws::String & GetDescription() 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