AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteServiceResult.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/ServiceStatus.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 DeleteServiceResult() = default;
34
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template<typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
43 template<typename ArnT = Aws::String>
44 DeleteServiceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetId() const { return m_id; }
52 template<typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
54 template<typename IdT = Aws::String>
55 DeleteServiceResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetName() const { return m_name; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 DeleteServiceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
75 inline ServiceStatus GetStatus() const { return m_status; }
76 inline void SetStatus(ServiceStatus value) { m_statusHasBeenSet = true; m_status = value; }
77 inline DeleteServiceResult& WithStatus(ServiceStatus value) { SetStatus(value); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 DeleteServiceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_arn;
91 bool m_arnHasBeenSet = false;
92
93 Aws::String m_id;
94 bool m_idHasBeenSet = false;
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
100 bool m_statusHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace VPCLattice
108} // namespace Aws
AWS_VPCLATTICE_API DeleteServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteServiceResult & WithName(NameT &&value)
DeleteServiceResult & WithRequestId(RequestIdT &&value)
AWS_VPCLATTICE_API DeleteServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteServiceResult & WithId(IdT &&value)
DeleteServiceResult & WithStatus(ServiceStatus value)
DeleteServiceResult & WithArn(ArnT &&value)
AWS_VPCLATTICE_API DeleteServiceResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue