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/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/vpc-lattice/model/TargetGroupStatus.h>
13#include <aws/vpc-lattice/model/TargetGroupType.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
47 inline void SetArn(
const char* value) { m_arn.assign(value); }
83 inline void SetFailureCode(
const char* value) { m_failureCode.assign(value); }
109 inline void SetId(
const char* value) { m_id.assign(value); }
134 inline void SetName(
const char* value) { m_name.assign(value); }
181 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetTargetGroupResult & WithId(Aws::String &&value)
const TargetGroupConfig & GetConfig() const
GetTargetGroupResult & WithArn(const char *value)
const Aws::Vector< Aws::String > & GetServiceArns() const
GetTargetGroupResult & WithType(const TargetGroupType &value)
void SetType(const TargetGroupType &value)
void SetArn(const Aws::String &value)
void SetId(Aws::String &&value)
GetTargetGroupResult & WithId(const Aws::String &value)
void SetFailureMessage(const char *value)
GetTargetGroupResult & WithStatus(const TargetGroupStatus &value)
GetTargetGroupResult & WithFailureMessage(const char *value)
void SetName(Aws::String &&value)
AWS_VPCLATTICE_API GetTargetGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(const TargetGroupStatus &value)
GetTargetGroupResult & WithFailureCode(const char *value)
void SetFailureMessage(const Aws::String &value)
void SetName(const Aws::String &value)
const Aws::String & GetFailureMessage() const
AWS_VPCLATTICE_API GetTargetGroupResult()
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::String & GetFailureCode() const
GetTargetGroupResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetConfig(TargetGroupConfig &&value)
void SetRequestId(Aws::String &&value)
GetTargetGroupResult & WithConfig(TargetGroupConfig &&value)
void SetRequestId(const char *value)
void SetFailureCode(const Aws::String &value)
void SetServiceArns(Aws::Vector< Aws::String > &&value)
GetTargetGroupResult & WithName(Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
GetTargetGroupResult & AddServiceArns(const char *value)
GetTargetGroupResult & WithArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetTargetGroupResult & WithRequestId(const Aws::String &value)
AWS_VPCLATTICE_API GetTargetGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTargetGroupResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
void SetServiceArns(const Aws::Vector< Aws::String > &value)
GetTargetGroupResult & WithName(const Aws::String &value)
void SetId(const char *value)
void SetFailureCode(Aws::String &&value)
GetTargetGroupResult & WithArn(Aws::String &&value)
GetTargetGroupResult & WithRequestId(const char *value)
GetTargetGroupResult & WithServiceArns(Aws::Vector< Aws::String > &&value)
GetTargetGroupResult & WithId(const char *value)
GetTargetGroupResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetTargetGroupResult & WithFailureCode(Aws::String &&value)
GetTargetGroupResult & WithFailureCode(const Aws::String &value)
GetTargetGroupResult & WithFailureMessage(const Aws::String &value)
void SetType(TargetGroupType &&value)
const TargetGroupStatus & GetStatus() const
void SetFailureMessage(Aws::String &&value)
GetTargetGroupResult & WithFailureMessage(Aws::String &&value)
GetTargetGroupResult & AddServiceArns(Aws::String &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetTargetGroupResult & WithType(TargetGroupType &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetArn() const
void SetArn(Aws::String &&value)
GetTargetGroupResult & WithConfig(const TargetGroupConfig &value)
void SetArn(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetFailureCode(const char *value)
void SetRequestId(const Aws::String &value)
GetTargetGroupResult & WithRequestId(Aws::String &&value)
GetTargetGroupResult & WithName(const char *value)
GetTargetGroupResult & WithStatus(TargetGroupStatus &&value)
void SetStatus(TargetGroupStatus &&value)
void SetId(const Aws::String &value)
void SetConfig(const TargetGroupConfig &value)
const Aws::String & GetId() const
const TargetGroupType & GetType() const
GetTargetGroupResult & WithServiceArns(const Aws::Vector< Aws::String > &value)
void SetName(const char *value)
GetTargetGroupResult & AddServiceArns(const Aws::String &value)
GetTargetGroupResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue