AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteTargetGroupResult.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/vpc-lattice/model/TargetGroupStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace VPCLattice
25{
26namespace Model
27{
29 {
30 public:
31 AWS_VPCLATTICE_API DeleteTargetGroupResult();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline DeleteTargetGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline DeleteTargetGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline DeleteTargetGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetId() const{ return m_id; }
54 inline void SetId(const Aws::String& value) { m_id = value; }
55 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
56 inline void SetId(const char* value) { m_id.assign(value); }
57 inline DeleteTargetGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;}
58 inline DeleteTargetGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
59 inline DeleteTargetGroupResult& WithId(const char* value) { SetId(value); return *this;}
61
63
68 inline const TargetGroupStatus& GetStatus() const{ return m_status; }
69 inline void SetStatus(const TargetGroupStatus& value) { m_status = value; }
70 inline void SetStatus(TargetGroupStatus&& value) { m_status = std::move(value); }
71 inline DeleteTargetGroupResult& WithStatus(const TargetGroupStatus& value) { SetStatus(value); return *this;}
72 inline DeleteTargetGroupResult& WithStatus(TargetGroupStatus&& value) { SetStatus(std::move(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline DeleteTargetGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline DeleteTargetGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline DeleteTargetGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_arn;
88
89 Aws::String m_id;
90
91 TargetGroupStatus m_status;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace VPCLattice
98} // namespace Aws
DeleteTargetGroupResult & WithRequestId(const Aws::String &value)
AWS_VPCLATTICE_API DeleteTargetGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteTargetGroupResult & WithRequestId(Aws::String &&value)
DeleteTargetGroupResult & WithStatus(TargetGroupStatus &&value)
DeleteTargetGroupResult & WithId(Aws::String &&value)
DeleteTargetGroupResult & WithArn(const Aws::String &value)
DeleteTargetGroupResult & WithRequestId(const char *value)
DeleteTargetGroupResult & WithId(const char *value)
DeleteTargetGroupResult & WithId(const Aws::String &value)
DeleteTargetGroupResult & WithArn(const char *value)
DeleteTargetGroupResult & WithArn(Aws::String &&value)
AWS_VPCLATTICE_API DeleteTargetGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteTargetGroupResult & WithStatus(const TargetGroupStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue