7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
60 inline void SetPercentage(
int value) { m_percentageHasBeenSet =
true; m_percentage = value; }
66 bool m_regionHasBeenSet =
false;
69 bool m_percentageHasBeenSet =
false;
Distribution & WithRegion(const char *value)
Distribution & WithRegion(Aws::String &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Distribution & WithRegion(const Aws::String &value)
const Aws::String & GetRegion() const
AWS_CONNECT_API Distribution()
void SetPercentage(int value)
bool PercentageHasBeenSet() const
int GetPercentage() const
void SetRegion(const char *value)
AWS_CONNECT_API Distribution(Aws::Utils::Json::JsonView jsonValue)
void SetRegion(Aws::String &&value)
AWS_CONNECT_API Distribution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegion(const Aws::String &value)
bool RegionHasBeenSet() const
Distribution & WithPercentage(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue