7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AssociationStateDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename AssociationStateT = AssociationStateDetails>
50 void SetAssociationState(AssociationStateT&& value) { m_associationStateHasBeenSet =
true; m_associationState = std::forward<AssociationStateT>(value); }
51 template<
typename AssociationStateT = AssociationStateDetails>
61 template<
typename GatewayIdT = Aws::String>
62 void SetGatewayId(GatewayIdT&& value) { m_gatewayIdHasBeenSet =
true; m_gatewayId = std::forward<GatewayIdT>(value); }
63 template<
typename GatewayIdT = Aws::String>
71 inline bool GetMain()
const {
return m_main; }
73 inline void SetMain(
bool value) { m_mainHasBeenSet =
true; m_main = value; }
83 template<
typename RouteTableAssociationIdT = Aws::String>
84 void SetRouteTableAssociationId(RouteTableAssociationIdT&& value) { m_routeTableAssociationIdHasBeenSet =
true; m_routeTableAssociationId = std::forward<RouteTableAssociationIdT>(value); }
85 template<
typename RouteTableAssociationIdT = Aws::String>
95 template<
typename RouteTableIdT = Aws::String>
96 void SetRouteTableId(RouteTableIdT&& value) { m_routeTableIdHasBeenSet =
true; m_routeTableId = std::forward<RouteTableIdT>(value); }
97 template<
typename RouteTableIdT = Aws::String>
108 template<
typename SubnetIdT = Aws::String>
109 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
110 template<
typename SubnetIdT = Aws::String>
116 bool m_associationStateHasBeenSet =
false;
119 bool m_gatewayIdHasBeenSet =
false;
122 bool m_mainHasBeenSet =
false;
125 bool m_routeTableAssociationIdHasBeenSet =
false;
128 bool m_routeTableIdHasBeenSet =
false;
131 bool m_subnetIdHasBeenSet =
false;
AssociationSetDetails & WithSubnetId(SubnetIdT &&value)
AssociationSetDetails & WithRouteTableId(RouteTableIdT &&value)
void SetAssociationState(AssociationStateT &&value)
AssociationSetDetails & WithRouteTableAssociationId(RouteTableAssociationIdT &&value)
bool RouteTableIdHasBeenSet() const
AssociationSetDetails & WithMain(bool value)
void SetSubnetId(SubnetIdT &&value)
bool AssociationStateHasBeenSet() const
bool RouteTableAssociationIdHasBeenSet() const
AssociationSetDetails & WithGatewayId(GatewayIdT &&value)
const Aws::String & GetSubnetId() const
AWS_SECURITYHUB_API AssociationSetDetails(Aws::Utils::Json::JsonView jsonValue)
void SetGatewayId(GatewayIdT &&value)
AWS_SECURITYHUB_API AssociationSetDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRouteTableId() const
bool SubnetIdHasBeenSet() const
AssociationSetDetails & WithAssociationState(AssociationStateT &&value)
const Aws::String & GetGatewayId() const
void SetRouteTableAssociationId(RouteTableAssociationIdT &&value)
AWS_SECURITYHUB_API AssociationSetDetails()=default
bool GatewayIdHasBeenSet() const
void SetRouteTableId(RouteTableIdT &&value)
bool MainHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AssociationStateDetails & GetAssociationState() const
const Aws::String & GetRouteTableAssociationId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue