AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceResult.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/AuthType.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 UpdateServiceResult();
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 UpdateServiceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline UpdateServiceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline UpdateServiceResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const AuthType& GetAuthType() const{ return m_authType; }
54 inline void SetAuthType(const AuthType& value) { m_authType = value; }
55 inline void SetAuthType(AuthType&& value) { m_authType = std::move(value); }
56 inline UpdateServiceResult& WithAuthType(const AuthType& value) { SetAuthType(value); return *this;}
57 inline UpdateServiceResult& WithAuthType(AuthType&& value) { SetAuthType(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
65 inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; }
66 inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); }
67 inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); }
68 inline UpdateServiceResult& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
69 inline UpdateServiceResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
70 inline UpdateServiceResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
72
74
77 inline const Aws::String& GetCustomDomainName() const{ return m_customDomainName; }
78 inline void SetCustomDomainName(const Aws::String& value) { m_customDomainName = value; }
79 inline void SetCustomDomainName(Aws::String&& value) { m_customDomainName = std::move(value); }
80 inline void SetCustomDomainName(const char* value) { m_customDomainName.assign(value); }
81 inline UpdateServiceResult& WithCustomDomainName(const Aws::String& value) { SetCustomDomainName(value); return *this;}
82 inline UpdateServiceResult& WithCustomDomainName(Aws::String&& value) { SetCustomDomainName(std::move(value)); return *this;}
83 inline UpdateServiceResult& WithCustomDomainName(const char* value) { SetCustomDomainName(value); return *this;}
85
87
90 inline const Aws::String& GetId() const{ return m_id; }
91 inline void SetId(const Aws::String& value) { m_id = value; }
92 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
93 inline void SetId(const char* value) { m_id.assign(value); }
94 inline UpdateServiceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
95 inline UpdateServiceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
96 inline UpdateServiceResult& WithId(const char* value) { SetId(value); return *this;}
98
100
103 inline const Aws::String& GetName() const{ return m_name; }
104 inline void SetName(const Aws::String& value) { m_name = value; }
105 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
106 inline void SetName(const char* value) { m_name.assign(value); }
107 inline UpdateServiceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
108 inline UpdateServiceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
109 inline UpdateServiceResult& WithName(const char* value) { SetName(value); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const{ return m_requestId; }
115 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
116 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
117 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
118 inline UpdateServiceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
119 inline UpdateServiceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
120 inline UpdateServiceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
122 private:
123
124 Aws::String m_arn;
125
126 AuthType m_authType;
127
128 Aws::String m_certificateArn;
129
130 Aws::String m_customDomainName;
131
132 Aws::String m_id;
133
134 Aws::String m_name;
135
136 Aws::String m_requestId;
137 };
138
139} // namespace Model
140} // namespace VPCLattice
141} // namespace Aws
UpdateServiceResult & WithId(const Aws::String &value)
UpdateServiceResult & WithAuthType(const AuthType &value)
UpdateServiceResult & WithName(Aws::String &&value)
UpdateServiceResult & WithArn(const Aws::String &value)
UpdateServiceResult & WithId(Aws::String &&value)
UpdateServiceResult & WithCertificateArn(const Aws::String &value)
UpdateServiceResult & WithName(const Aws::String &value)
UpdateServiceResult & WithRequestId(const char *value)
UpdateServiceResult & WithRequestId(const Aws::String &value)
UpdateServiceResult & WithCustomDomainName(const char *value)
UpdateServiceResult & WithCertificateArn(const char *value)
UpdateServiceResult & WithCustomDomainName(const Aws::String &value)
AWS_VPCLATTICE_API UpdateServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateServiceResult & WithArn(const char *value)
UpdateServiceResult & WithAuthType(AuthType &&value)
void SetCertificateArn(const Aws::String &value)
UpdateServiceResult & WithCertificateArn(Aws::String &&value)
void SetCustomDomainName(const Aws::String &value)
UpdateServiceResult & WithArn(Aws::String &&value)
UpdateServiceResult & WithRequestId(Aws::String &&value)
AWS_VPCLATTICE_API UpdateServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateServiceResult & WithId(const char *value)
UpdateServiceResult & WithName(const char *value)
UpdateServiceResult & WithCustomDomainName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue