AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 DeleteServiceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline DeleteServiceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline DeleteServiceResult& 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 DeleteServiceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
58 inline DeleteServiceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
59 inline DeleteServiceResult& WithId(const char* value) { SetId(value); return *this;}
61
63
66 inline const Aws::String& GetName() const{ return m_name; }
67 inline void SetName(const Aws::String& value) { m_name = value; }
68 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
69 inline void SetName(const char* value) { m_name.assign(value); }
70 inline DeleteServiceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline DeleteServiceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline DeleteServiceResult& WithName(const char* value) { SetName(value); return *this;}
74
76
81 inline const ServiceStatus& GetStatus() const{ return m_status; }
82 inline void SetStatus(const ServiceStatus& value) { m_status = value; }
83 inline void SetStatus(ServiceStatus&& value) { m_status = std::move(value); }
84 inline DeleteServiceResult& WithStatus(const ServiceStatus& value) { SetStatus(value); return *this;}
85 inline DeleteServiceResult& WithStatus(ServiceStatus&& value) { SetStatus(std::move(value)); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline DeleteServiceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline DeleteServiceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline DeleteServiceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::String m_arn;
101
102 Aws::String m_id;
103
104 Aws::String m_name;
105
106 ServiceStatus m_status;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace VPCLattice
113} // namespace Aws
DeleteServiceResult & WithRequestId(const Aws::String &value)
DeleteServiceResult & WithId(Aws::String &&value)
DeleteServiceResult & WithArn(Aws::String &&value)
void SetRequestId(const Aws::String &value)
DeleteServiceResult & WithName(Aws::String &&value)
AWS_VPCLATTICE_API DeleteServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteServiceResult & WithId(const char *value)
DeleteServiceResult & WithArn(const Aws::String &value)
DeleteServiceResult & WithName(const char *value)
DeleteServiceResult & WithRequestId(const char *value)
DeleteServiceResult & WithName(const Aws::String &value)
DeleteServiceResult & WithId(const Aws::String &value)
AWS_VPCLATTICE_API DeleteServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteServiceResult & WithRequestId(Aws::String &&value)
void SetStatus(const ServiceStatus &value)
DeleteServiceResult & WithStatus(ServiceStatus &&value)
DeleteServiceResult & WithArn(const char *value)
DeleteServiceResult & WithStatus(const ServiceStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue