AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccessLogSubscriptionResult.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/core/utils/DateTime.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 GetAccessLogSubscriptionResult();
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 GetAccessLogSubscriptionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline GetAccessLogSubscriptionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline GetAccessLogSubscriptionResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
54 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
55 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
56 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
58 inline GetAccessLogSubscriptionResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
66 inline void SetDestinationArn(const Aws::String& value) { m_destinationArn = value; }
67 inline void SetDestinationArn(Aws::String&& value) { m_destinationArn = std::move(value); }
68 inline void SetDestinationArn(const char* value) { m_destinationArn.assign(value); }
70 inline GetAccessLogSubscriptionResult& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
71 inline GetAccessLogSubscriptionResult& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
73
75
78 inline const Aws::String& GetId() const{ return m_id; }
79 inline void SetId(const Aws::String& value) { m_id = value; }
80 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
81 inline void SetId(const char* value) { m_id.assign(value); }
82 inline GetAccessLogSubscriptionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
83 inline GetAccessLogSubscriptionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
84 inline GetAccessLogSubscriptionResult& WithId(const char* value) { SetId(value); return *this;}
86
88
92 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
93 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
94 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
98
100
103 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
104 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
105 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
106 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
107 inline GetAccessLogSubscriptionResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
108 inline GetAccessLogSubscriptionResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
109 inline GetAccessLogSubscriptionResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
111
113
116 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
117 inline void SetResourceId(const Aws::String& value) { m_resourceId = value; }
118 inline void SetResourceId(Aws::String&& value) { m_resourceId = std::move(value); }
119 inline void SetResourceId(const char* value) { m_resourceId.assign(value); }
120 inline GetAccessLogSubscriptionResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
121 inline GetAccessLogSubscriptionResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
122 inline GetAccessLogSubscriptionResult& WithResourceId(const char* value) { SetResourceId(value); return *this;}
124
126
127 inline const Aws::String& GetRequestId() const{ return m_requestId; }
128 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
129 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
130 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
131 inline GetAccessLogSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
132 inline GetAccessLogSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
133 inline GetAccessLogSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
135 private:
136
137 Aws::String m_arn;
138
139 Aws::Utils::DateTime m_createdAt;
140
141 Aws::String m_destinationArn;
142
143 Aws::String m_id;
144
145 Aws::Utils::DateTime m_lastUpdatedAt;
146
147 Aws::String m_resourceArn;
148
149 Aws::String m_resourceId;
150
151 Aws::String m_requestId;
152 };
153
154} // namespace Model
155} // namespace VPCLattice
156} // namespace Aws
GetAccessLogSubscriptionResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetAccessLogSubscriptionResult & WithResourceArn(Aws::String &&value)
GetAccessLogSubscriptionResult & WithRequestId(const char *value)
GetAccessLogSubscriptionResult & WithResourceId(const Aws::String &value)
GetAccessLogSubscriptionResult & WithArn(const char *value)
GetAccessLogSubscriptionResult & WithResourceArn(const char *value)
GetAccessLogSubscriptionResult & WithResourceArn(const Aws::String &value)
GetAccessLogSubscriptionResult & WithResourceId(Aws::String &&value)
GetAccessLogSubscriptionResult & WithRequestId(const Aws::String &value)
GetAccessLogSubscriptionResult & WithDestinationArn(const char *value)
GetAccessLogSubscriptionResult & WithDestinationArn(Aws::String &&value)
GetAccessLogSubscriptionResult & WithResourceId(const char *value)
GetAccessLogSubscriptionResult & WithId(const char *value)
AWS_VPCLATTICE_API GetAccessLogSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccessLogSubscriptionResult & WithId(Aws::String &&value)
GetAccessLogSubscriptionResult & WithRequestId(Aws::String &&value)
GetAccessLogSubscriptionResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetAccessLogSubscriptionResult & WithArn(Aws::String &&value)
GetAccessLogSubscriptionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetAccessLogSubscriptionResult & WithId(const Aws::String &value)
GetAccessLogSubscriptionResult & WithDestinationArn(const Aws::String &value)
AWS_VPCLATTICE_API GetAccessLogSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccessLogSubscriptionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetAccessLogSubscriptionResult & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue