7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appstream/model/AppVisibility.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/appstream/model/EntitlementAttribute.h>
56 template<
typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
58 template<
typename NameT = Aws::String>
68 template<
typename StackNameT = Aws::String>
69 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet =
true; m_stackName = std::forward<StackNameT>(value); }
70 template<
typename StackNameT = Aws::String>
80 template<
typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
82 template<
typename DescriptionT = Aws::String>
102 template<
typename AttributesT = Aws::Vector<EntitlementAttribute>>
103 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
104 template<
typename AttributesT = Aws::Vector<EntitlementAttribute>>
106 template<
typename AttributesT = EntitlementAttribute>
107 Entitlement&
AddAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes.emplace_back(std::forward<AttributesT>(value));
return *
this; }
116 template<
typename CreatedTimeT = Aws::Utils::DateTime>
117 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
118 template<
typename CreatedTimeT = Aws::Utils::DateTime>
128 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
129 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
130 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
136 bool m_nameHasBeenSet =
false;
139 bool m_stackNameHasBeenSet =
false;
142 bool m_descriptionHasBeenSet =
false;
145 bool m_appVisibilityHasBeenSet =
false;
148 bool m_attributesHasBeenSet =
false;
151 bool m_createdTimeHasBeenSet =
false;
154 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