7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
47 template<
typename AwsAccountIdT = Aws::String>
48 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
49 template<
typename AwsAccountIdT = Aws::String>
59 template<
typename AwsAccountNameT = Aws::String>
60 void SetAwsAccountName(AwsAccountNameT&& value) { m_awsAccountNameHasBeenSet =
true; m_awsAccountName = std::forward<AwsAccountNameT>(value); }
61 template<
typename AwsAccountNameT = Aws::String>
71 template<
typename SupportedRegionsT = Aws::Vector<Aws::String>>
72 void SetSupportedRegions(SupportedRegionsT&& value) { m_supportedRegionsHasBeenSet =
true; m_supportedRegions = std::forward<SupportedRegionsT>(value); }
73 template<
typename SupportedRegionsT = Aws::Vector<Aws::String>>
75 template<
typename SupportedRegionsT = Aws::String>
76 AccountInfo&
AddSupportedRegions(SupportedRegionsT&& value) { m_supportedRegionsHasBeenSet =
true; m_supportedRegions.emplace_back(std::forward<SupportedRegionsT>(value));
return *
this; }
81 bool m_awsAccountIdHasBeenSet =
false;
84 bool m_awsAccountNameHasBeenSet =
false;
87 bool m_supportedRegionsHasBeenSet =
false;
bool SupportedRegionsHasBeenSet() const
AWS_DATAZONE_API AccountInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAwsAccountId() const
AccountInfo & WithAwsAccountId(AwsAccountIdT &&value)
bool AwsAccountIdHasBeenSet() const
AWS_DATAZONE_API AccountInfo()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AccountInfo & WithSupportedRegions(SupportedRegionsT &&value)
bool AwsAccountNameHasBeenSet() const
AWS_DATAZONE_API AccountInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAwsAccountName() const
void SetAwsAccountId(AwsAccountIdT &&value)
AccountInfo & AddSupportedRegions(SupportedRegionsT &&value)
void SetAwsAccountName(AwsAccountNameT &&value)
const Aws::Vector< Aws::String > & GetSupportedRegions() const
AccountInfo & WithAwsAccountName(AwsAccountNameT &&value)
void SetSupportedRegions(SupportedRegionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue