7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
9#include <aws/iot-managed-integrations/model/AssociationState.h>
20namespace IoTManagedIntegrations {
42 template <
typename AccountAssociationIdT = Aws::String>
44 m_accountAssociationIdHasBeenSet =
true;
45 m_accountAssociationId = std::forward<AccountAssociationIdT>(value);
47 template <
typename AccountAssociationIdT = Aws::String>
62 m_associationStateHasBeenSet =
true;
63 m_associationState = value;
78 template <
typename ErrorMessageT = Aws::String>
80 m_errorMessageHasBeenSet =
true;
81 m_errorMessage = std::forward<ErrorMessageT>(value);
83 template <
typename ErrorMessageT = Aws::String>
97 template <
typename ConnectorDestinationIdT = Aws::String>
99 m_connectorDestinationIdHasBeenSet =
true;
100 m_connectorDestinationId = std::forward<ConnectorDestinationIdT>(value);
102 template <
typename ConnectorDestinationIdT = Aws::String>
115 template <
typename NameT = Aws::String>
117 m_nameHasBeenSet =
true;
118 m_name = std::forward<NameT>(value);
120 template <
typename NameT = Aws::String>
122 SetName(std::forward<NameT>(value));
133 template <
typename DescriptionT = Aws::String>
135 m_descriptionHasBeenSet =
true;
136 m_description = std::forward<DescriptionT>(value);
138 template <
typename DescriptionT = Aws::String>
151 template <
typename ArnT = Aws::String>
153 m_arnHasBeenSet =
true;
154 m_arn = std::forward<ArnT>(value);
156 template <
typename ArnT = Aws::String>
158 SetArn(std::forward<ArnT>(value));
176 bool m_accountAssociationIdHasBeenSet =
false;
177 bool m_associationStateHasBeenSet =
false;
178 bool m_errorMessageHasBeenSet =
false;
179 bool m_connectorDestinationIdHasBeenSet =
false;
180 bool m_nameHasBeenSet =
false;
181 bool m_descriptionHasBeenSet =
false;
182 bool m_arnHasBeenSet =
false;
void SetName(NameT &&value)
void SetAccountAssociationId(AccountAssociationIdT &&value)
AccountAssociationItem & WithAssociationState(AssociationState value)
AccountAssociationItem & WithDescription(DescriptionT &&value)
void SetConnectorDestinationId(ConnectorDestinationIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API AccountAssociationItem()=default
const Aws::String & GetErrorMessage() const
AccountAssociationItem & WithConnectorDestinationId(ConnectorDestinationIdT &&value)
AccountAssociationItem & WithAccountAssociationId(AccountAssociationIdT &&value)
AccountAssociationItem & WithName(NameT &&value)
AccountAssociationItem & WithErrorMessage(ErrorMessageT &&value)
void SetErrorMessage(ErrorMessageT &&value)
void SetDescription(DescriptionT &&value)
bool AccountAssociationIdHasBeenSet() const
bool ErrorMessageHasBeenSet() const
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
bool AssociationStateHasBeenSet() const
const Aws::String & GetName() const
AccountAssociationItem & WithArn(ArnT &&value)
const Aws::String & GetDescription() const
AWS_IOTMANAGEDINTEGRATIONS_API AccountAssociationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociationState GetAssociationState() const
void SetAssociationState(AssociationState value)
AWS_IOTMANAGEDINTEGRATIONS_API AccountAssociationItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
bool ArnHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetAccountAssociationId() const
bool ConnectorDestinationIdHasBeenSet() const
void SetArn(ArnT &&value)
bool NameHasBeenSet() const
const Aws::String & GetConnectorDestinationId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue