AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateTargetGroupResult.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/TargetGroupConfig.h>
10#include <aws/vpc-lattice/model/TargetGroupStatus.h>
11#include <aws/vpc-lattice/model/TargetGroupType.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace VPCLattice
27{
28namespace Model
29{
31 {
32 public:
33 AWS_VPCLATTICE_API UpdateTargetGroupResult() = default;
36
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
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>
46 UpdateTargetGroupResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
53 inline const TargetGroupConfig& GetConfig() const { return m_config; }
54 template<typename ConfigT = TargetGroupConfig>
55 void SetConfig(ConfigT&& value) { m_configHasBeenSet = true; m_config = std::forward<ConfigT>(value); }
56 template<typename ConfigT = TargetGroupConfig>
57 UpdateTargetGroupResult& WithConfig(ConfigT&& value) { SetConfig(std::forward<ConfigT>(value)); return *this;}
59
61
64 inline const Aws::String& GetId() const { return m_id; }
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>
68 UpdateTargetGroupResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
70
72
75 inline const Aws::String& GetName() const { return m_name; }
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>
79 UpdateTargetGroupResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
81
83
86 inline TargetGroupStatus GetStatus() const { return m_status; }
87 inline void SetStatus(TargetGroupStatus value) { m_statusHasBeenSet = true; m_status = value; }
88 inline UpdateTargetGroupResult& WithStatus(TargetGroupStatus value) { SetStatus(value); return *this;}
90
92
95 inline TargetGroupType GetType() const { return m_type; }
96 inline void SetType(TargetGroupType value) { m_typeHasBeenSet = true; m_type = value; }
97 inline UpdateTargetGroupResult& WithType(TargetGroupType value) { SetType(value); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
106 UpdateTargetGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
108 private:
109
110 Aws::String m_arn;
111 bool m_arnHasBeenSet = false;
112
113 TargetGroupConfig m_config;
114 bool m_configHasBeenSet = false;
115
116 Aws::String m_id;
117 bool m_idHasBeenSet = false;
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
123 bool m_statusHasBeenSet = false;
124
126 bool m_typeHasBeenSet = false;
127
128 Aws::String m_requestId;
129 bool m_requestIdHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace VPCLattice
134} // namespace Aws
UpdateTargetGroupResult & WithConfig(ConfigT &&value)
UpdateTargetGroupResult & WithId(IdT &&value)
AWS_VPCLATTICE_API UpdateTargetGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_VPCLATTICE_API UpdateTargetGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTargetGroupResult & WithRequestId(RequestIdT &&value)
UpdateTargetGroupResult & WithStatus(TargetGroupStatus value)
AWS_VPCLATTICE_API UpdateTargetGroupResult()=default
UpdateTargetGroupResult & WithArn(ArnT &&value)
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