AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccessLogSubscriptionSummary.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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace VPCLattice
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_VPCLATTICE_API AccessLogSubscriptionSummary();
39 AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline AccessLogSubscriptionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline AccessLogSubscriptionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline AccessLogSubscriptionSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
62 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
63 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
64 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
65 inline AccessLogSubscriptionSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
66 inline AccessLogSubscriptionSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
74 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
75 inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
76 inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
77 inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
79 inline AccessLogSubscriptionSummary& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
80 inline AccessLogSubscriptionSummary& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
82
84
87 inline const Aws::String& GetId() const{ return m_id; }
88 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
89 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
90 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
91 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
92 inline AccessLogSubscriptionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
93 inline AccessLogSubscriptionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
94 inline AccessLogSubscriptionSummary& WithId(const char* value) { SetId(value); return *this;}
96
98
102 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
103 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
104 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
105 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
107 inline AccessLogSubscriptionSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
115 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
116 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
117 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
118 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
119 inline AccessLogSubscriptionSummary& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
120 inline AccessLogSubscriptionSummary& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
121 inline AccessLogSubscriptionSummary& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
123
125
128 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
129 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
130 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
131 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
132 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
133 inline AccessLogSubscriptionSummary& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
134 inline AccessLogSubscriptionSummary& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
135 inline AccessLogSubscriptionSummary& WithResourceId(const char* value) { SetResourceId(value); return *this;}
137 private:
138
139 Aws::String m_arn;
140 bool m_arnHasBeenSet = false;
141
142 Aws::Utils::DateTime m_createdAt;
143 bool m_createdAtHasBeenSet = false;
144
145 Aws::String m_destinationArn;
146 bool m_destinationArnHasBeenSet = false;
147
148 Aws::String m_id;
149 bool m_idHasBeenSet = false;
150
151 Aws::Utils::DateTime m_lastUpdatedAt;
152 bool m_lastUpdatedAtHasBeenSet = false;
153
154 Aws::String m_resourceArn;
155 bool m_resourceArnHasBeenSet = false;
156
157 Aws::String m_resourceId;
158 bool m_resourceIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace VPCLattice
163} // namespace Aws
AccessLogSubscriptionSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
AccessLogSubscriptionSummary & WithId(const char *value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
AccessLogSubscriptionSummary & WithDestinationArn(const char *value)
AWS_VPCLATTICE_API AccessLogSubscriptionSummary(Aws::Utils::Json::JsonView jsonValue)
AccessLogSubscriptionSummary & WithArn(const Aws::String &value)
AccessLogSubscriptionSummary & WithId(Aws::String &&value)
AccessLogSubscriptionSummary & WithResourceArn(Aws::String &&value)
AccessLogSubscriptionSummary & WithResourceId(Aws::String &&value)
AccessLogSubscriptionSummary & WithId(const Aws::String &value)
AccessLogSubscriptionSummary & WithResourceArn(const char *value)
AccessLogSubscriptionSummary & WithDestinationArn(Aws::String &&value)
AccessLogSubscriptionSummary & WithResourceArn(const Aws::String &value)
AccessLogSubscriptionSummary & WithArn(const char *value)
AccessLogSubscriptionSummary & WithDestinationArn(const Aws::String &value)
AccessLogSubscriptionSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
AccessLogSubscriptionSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
AccessLogSubscriptionSummary & WithResourceId(const Aws::String &value)
AccessLogSubscriptionSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
AWS_VPCLATTICE_API AccessLogSubscriptionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessLogSubscriptionSummary & WithResourceId(const char *value)
AccessLogSubscriptionSummary & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue