AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetServiceNetworkResult.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 <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace VPCLattice
26{
27namespace Model
28{
30 {
31 public:
32 AWS_VPCLATTICE_API GetServiceNetworkResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline GetServiceNetworkResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline GetServiceNetworkResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline GetServiceNetworkResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const AuthType& GetAuthType() const{ return m_authType; }
55 inline void SetAuthType(const AuthType& value) { m_authType = value; }
56 inline void SetAuthType(AuthType&& value) { m_authType = std::move(value); }
57 inline GetServiceNetworkResult& WithAuthType(const AuthType& value) { SetAuthType(value); return *this;}
58 inline GetServiceNetworkResult& WithAuthType(AuthType&& value) { SetAuthType(std::move(value)); return *this;}
60
62
66 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
67 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
68 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
69 inline GetServiceNetworkResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
70 inline GetServiceNetworkResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetId() const{ return m_id; }
78 inline void SetId(const Aws::String& value) { m_id = value; }
79 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
80 inline void SetId(const char* value) { m_id.assign(value); }
81 inline GetServiceNetworkResult& WithId(const Aws::String& value) { SetId(value); return *this;}
82 inline GetServiceNetworkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
83 inline GetServiceNetworkResult& WithId(const char* value) { SetId(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
91 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
92 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
94 inline GetServiceNetworkResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetName() const{ return m_name; }
102 inline void SetName(const Aws::String& value) { m_name = value; }
103 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
104 inline void SetName(const char* value) { m_name.assign(value); }
105 inline GetServiceNetworkResult& WithName(const Aws::String& value) { SetName(value); return *this;}
106 inline GetServiceNetworkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
107 inline GetServiceNetworkResult& WithName(const char* value) { SetName(value); return *this;}
109
111
114 inline long long GetNumberOfAssociatedServices() const{ return m_numberOfAssociatedServices; }
115 inline void SetNumberOfAssociatedServices(long long value) { m_numberOfAssociatedServices = value; }
118
120
123 inline long long GetNumberOfAssociatedVPCs() const{ return m_numberOfAssociatedVPCs; }
124 inline void SetNumberOfAssociatedVPCs(long long value) { m_numberOfAssociatedVPCs = value; }
125 inline GetServiceNetworkResult& WithNumberOfAssociatedVPCs(long long value) { SetNumberOfAssociatedVPCs(value); return *this;}
127
129
130 inline const Aws::String& GetRequestId() const{ return m_requestId; }
131 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
132 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
133 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
134 inline GetServiceNetworkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline GetServiceNetworkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline GetServiceNetworkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
138 private:
139
140 Aws::String m_arn;
141
142 AuthType m_authType;
143
144 Aws::Utils::DateTime m_createdAt;
145
146 Aws::String m_id;
147
148 Aws::Utils::DateTime m_lastUpdatedAt;
149
150 Aws::String m_name;
151
152 long long m_numberOfAssociatedServices;
153
154 long long m_numberOfAssociatedVPCs;
155
156 Aws::String m_requestId;
157 };
158
159} // namespace Model
160} // namespace VPCLattice
161} // namespace Aws
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetServiceNetworkResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetServiceNetworkResult & WithArn(const char *value)
GetServiceNetworkResult & WithId(const char *value)
GetServiceNetworkResult & WithAuthType(const AuthType &value)
GetServiceNetworkResult & WithNumberOfAssociatedServices(long long value)
GetServiceNetworkResult & WithArn(const Aws::String &value)
GetServiceNetworkResult & WithArn(Aws::String &&value)
GetServiceNetworkResult & WithAuthType(AuthType &&value)
GetServiceNetworkResult & WithNumberOfAssociatedVPCs(long long value)
GetServiceNetworkResult & WithRequestId(const char *value)
GetServiceNetworkResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetServiceNetworkResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetServiceNetworkResult & WithRequestId(Aws::String &&value)
AWS_VPCLATTICE_API GetServiceNetworkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceNetworkResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetServiceNetworkResult & WithName(const char *value)
GetServiceNetworkResult & WithName(const Aws::String &value)
GetServiceNetworkResult & WithName(Aws::String &&value)
AWS_VPCLATTICE_API GetServiceNetworkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceNetworkResult & WithRequestId(const Aws::String &value)
GetServiceNetworkResult & WithId(Aws::String &&value)
GetServiceNetworkResult & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue