7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10#include <aws/devops-agent/model/OrgSourceAccountReasonCode.h>
21namespace DevOpsAgent {
44 m_reasonCodeHasBeenSet =
true;
60 m_accountCountHasBeenSet =
true;
61 m_accountCount = value;
75 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
77 m_accountIdsHasBeenSet =
true;
78 m_accountIds = std::forward<AccountIdsT>(value);
80 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
85 template <
typename AccountIdsT = Aws::String>
87 m_accountIdsHasBeenSet =
true;
88 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
99 template <
typename MessageT = Aws::String>
101 m_messageHasBeenSet =
true;
102 m_message = std::forward<MessageT>(value);
104 template <
typename MessageT = Aws::String>
113 int m_accountCount{0};
118 bool m_reasonCodeHasBeenSet =
false;
119 bool m_accountCountHasBeenSet =
false;
120 bool m_accountIdsHasBeenSet =
false;
121 bool m_messageHasBeenSet =
false;
OrgSourceIssue & WithReasonCode(OrgSourceAccountReasonCode value)
const Aws::Vector< Aws::String > & GetAccountIds() const
const Aws::String & GetMessage() const
void SetReasonCode(OrgSourceAccountReasonCode value)
AWS_DEVOPSAGENT_API OrgSourceIssue(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API OrgSourceIssue()=default
void SetAccountCount(int value)
void SetMessage(MessageT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
OrgSourceIssue & AddAccountIds(AccountIdsT &&value)
bool MessageHasBeenSet() const
AWS_DEVOPSAGENT_API OrgSourceIssue & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AccountIdsHasBeenSet() const
bool AccountCountHasBeenSet() const
void SetAccountIds(AccountIdsT &&value)
bool ReasonCodeHasBeenSet() const
int GetAccountCount() const
OrgSourceIssue & WithAccountIds(AccountIdsT &&value)
OrgSourceAccountReasonCode GetReasonCode() const
OrgSourceIssue & WithMessage(MessageT &&value)
OrgSourceIssue & WithAccountCount(int value)
OrgSourceAccountReasonCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue