7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/vpc-lattice/model/TargetGroupConfig.h>
10#include <aws/vpc-lattice/model/TargetGroupStatus.h>
11#include <aws/vpc-lattice/model/TargetGroupType.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
45 template<
typename ArnT = Aws::String>
54 template<
typename ConfigT = TargetGroupConfig>
55 void SetConfig(ConfigT&& value) { m_configHasBeenSet =
true; m_config = std::forward<ConfigT>(value); }
56 template<
typename ConfigT = TargetGroupConfig>
65 template<
typename IdT = Aws::String>
66 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
67 template<
typename IdT = Aws::String>
76 template<
typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
78 template<
typename NameT = Aws::String>
103 template<
typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
105 template<
typename RequestIdT = Aws::String>
111 bool m_arnHasBeenSet =
false;
114 bool m_configHasBeenSet =
false;
117 bool m_idHasBeenSet =
false;
120 bool m_nameHasBeenSet =
false;
123 bool m_statusHasBeenSet =
false;
126 bool m_typeHasBeenSet =
false;
129 bool m_requestIdHasBeenSet =
false;
UpdateTargetGroupResult & WithConfig(ConfigT &&value)
TargetGroupType GetType() const
const TargetGroupConfig & GetConfig() const
const Aws::String & GetName() const
UpdateTargetGroupResult & WithId(IdT &&value)
void SetConfig(ConfigT &&value)
AWS_VPCLATTICE_API UpdateTargetGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TargetGroupStatus GetStatus() const
AWS_VPCLATTICE_API UpdateTargetGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
UpdateTargetGroupResult & WithRequestId(RequestIdT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetRequestId() const
UpdateTargetGroupResult & WithStatus(TargetGroupStatus value)
void SetType(TargetGroupType value)
const Aws::String & GetArn() const
void SetStatus(TargetGroupStatus value)
AWS_VPCLATTICE_API UpdateTargetGroupResult()=default
UpdateTargetGroupResult & WithArn(ArnT &&value)
void SetName(NameT &&value)
const Aws::String & GetId() const
UpdateTargetGroupResult & WithName(NameT &&value)
UpdateTargetGroupResult & WithType(TargetGroupType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue