7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/RegionalSummary.h>
45 template <
typename AttributeNameT = Aws::String>
47 m_attributeNameHasBeenSet =
true;
48 m_attributeName = std::forward<AttributeNameT>(value);
50 template <
typename AttributeNameT = Aws::String>
64 template <
typename MostFrequentValueT = Aws::String>
66 m_mostFrequentValueHasBeenSet =
true;
67 m_mostFrequentValue = std::forward<MostFrequentValueT>(value);
69 template <
typename MostFrequentValueT = Aws::String>
84 m_numberOfMatchedAccountsHasBeenSet =
true;
85 m_numberOfMatchedAccounts = value;
101 m_numberOfUnmatchedAccountsHasBeenSet =
true;
102 m_numberOfUnmatchedAccounts = value;
116 template <
typename RegionalSummariesT = Aws::Vector<RegionalSummary>>
118 m_regionalSummariesHasBeenSet =
true;
119 m_regionalSummaries = std::forward<RegionalSummariesT>(value);
121 template <
typename RegionalSummariesT = Aws::Vector<RegionalSummary>>
126 template <
typename RegionalSummariesT = RegionalSummary>
128 m_regionalSummariesHasBeenSet =
true;
129 m_regionalSummaries.emplace_back(std::forward<RegionalSummariesT>(value));
138 int m_numberOfMatchedAccounts{0};
140 int m_numberOfUnmatchedAccounts{0};
143 bool m_attributeNameHasBeenSet =
false;
144 bool m_mostFrequentValueHasBeenSet =
false;
145 bool m_numberOfMatchedAccountsHasBeenSet =
false;
146 bool m_numberOfUnmatchedAccountsHasBeenSet =
false;
147 bool m_regionalSummariesHasBeenSet =
false;
AttributeSummary & WithAttributeName(AttributeNameT &&value)
void SetMostFrequentValue(MostFrequentValueT &&value)
int GetNumberOfMatchedAccounts() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< RegionalSummary > & GetRegionalSummaries() const
AttributeSummary & WithMostFrequentValue(MostFrequentValueT &&value)
bool MostFrequentValueHasBeenSet() const
void SetRegionalSummaries(RegionalSummariesT &&value)
const Aws::String & GetMostFrequentValue() const
void SetNumberOfUnmatchedAccounts(int value)
bool NumberOfUnmatchedAccountsHasBeenSet() const
AttributeSummary & WithNumberOfMatchedAccounts(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API AttributeSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
AttributeSummary & WithRegionalSummaries(RegionalSummariesT &&value)
bool RegionalSummariesHasBeenSet() const
const Aws::String & GetAttributeName() const
bool AttributeNameHasBeenSet() const
void SetAttributeName(AttributeNameT &&value)
AWS_EC2_API AttributeSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
int GetNumberOfUnmatchedAccounts() const
bool NumberOfMatchedAccountsHasBeenSet() const
AttributeSummary & WithNumberOfUnmatchedAccounts(int value)
void SetNumberOfMatchedAccounts(int value)
AWS_EC2_API AttributeSummary()=default
AttributeSummary & AddRegionalSummaries(RegionalSummariesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream