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;
45 inline void SetArn(
const char* value) { m_arn.assign(value); }
69 inline void SetId(
const char* value) { m_id.assign(value); }
82 inline void SetName(
const char* value) { m_name.assign(value); }
117 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
AWS_VPCLATTICE_API CreateTargetGroupResult()
CreateTargetGroupResult & WithId(const Aws::String &value)
const TargetGroupStatus & GetStatus() const
CreateTargetGroupResult & WithRequestId(Aws::String &&value)
void SetId(const Aws::String &value)
void SetRequestId(const char *value)
CreateTargetGroupResult & WithId(Aws::String &&value)
const Aws::String & GetId() const
CreateTargetGroupResult & WithStatus(TargetGroupStatus &&value)
const Aws::String & GetRequestId() const
void SetRequestId(const Aws::String &value)
CreateTargetGroupResult & WithName(Aws::String &&value)
CreateTargetGroupResult & WithName(const char *value)
CreateTargetGroupResult & WithStatus(const TargetGroupStatus &value)
const TargetGroupType & GetType() const
CreateTargetGroupResult & WithName(const Aws::String &value)
CreateTargetGroupResult & WithRequestId(const char *value)
void SetType(const TargetGroupType &value)
void SetType(TargetGroupType &&value)
CreateTargetGroupResult & WithConfig(const TargetGroupConfig &value)
const Aws::String & GetName() const
void SetConfig(TargetGroupConfig &&value)
CreateTargetGroupResult & WithConfig(TargetGroupConfig &&value)
AWS_VPCLATTICE_API CreateTargetGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetName(Aws::String &&value)
void SetConfig(const TargetGroupConfig &value)
const TargetGroupConfig & GetConfig() const
void SetName(const char *value)
CreateTargetGroupResult & WithArn(const Aws::String &value)
CreateTargetGroupResult & WithArn(const char *value)
AWS_VPCLATTICE_API CreateTargetGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(const char *value)
void SetArn(Aws::String &&value)
void SetId(Aws::String &&value)
void SetId(const char *value)
CreateTargetGroupResult & WithType(TargetGroupType &&value)
CreateTargetGroupResult & WithType(const TargetGroupType &value)
const Aws::String & GetArn() const
CreateTargetGroupResult & WithArn(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetName(const Aws::String &value)
void SetStatus(TargetGroupStatus &&value)
CreateTargetGroupResult & WithId(const char *value)
void SetStatus(const TargetGroupStatus &value)
void SetArn(const Aws::String &value)
CreateTargetGroupResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue