AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VpcConnectionInfoServerless.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/UserIdentity.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kafka {
22namespace Model {
23
30 public:
31 AWS_KAFKA_API VpcConnectionInfoServerless() = default;
34 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
42 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
43 template <typename CreationTimeT = Aws::Utils::DateTime>
44 void SetCreationTime(CreationTimeT&& value) {
45 m_creationTimeHasBeenSet = true;
46 m_creationTime = std::forward<CreationTimeT>(value);
47 }
48 template <typename CreationTimeT = Aws::Utils::DateTime>
50 SetCreationTime(std::forward<CreationTimeT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetOwner() const { return m_owner; }
61 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
62 template <typename OwnerT = Aws::String>
63 void SetOwner(OwnerT&& value) {
64 m_ownerHasBeenSet = true;
65 m_owner = std::forward<OwnerT>(value);
66 }
67 template <typename OwnerT = Aws::String>
69 SetOwner(std::forward<OwnerT>(value));
70 return *this;
71 }
73
75
79 inline const UserIdentity& GetUserIdentity() const { return m_userIdentity; }
80 inline bool UserIdentityHasBeenSet() const { return m_userIdentityHasBeenSet; }
81 template <typename UserIdentityT = UserIdentity>
82 void SetUserIdentity(UserIdentityT&& value) {
83 m_userIdentityHasBeenSet = true;
84 m_userIdentity = std::forward<UserIdentityT>(value);
85 }
86 template <typename UserIdentityT = UserIdentity>
88 SetUserIdentity(std::forward<UserIdentityT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetVpcConnectionArn() const { return m_vpcConnectionArn; }
99 inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; }
100 template <typename VpcConnectionArnT = Aws::String>
101 void SetVpcConnectionArn(VpcConnectionArnT&& value) {
102 m_vpcConnectionArnHasBeenSet = true;
103 m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value);
104 }
105 template <typename VpcConnectionArnT = Aws::String>
107 SetVpcConnectionArn(std::forward<VpcConnectionArnT>(value));
108 return *this;
109 }
111 private:
112 Aws::Utils::DateTime m_creationTime{};
113
114 Aws::String m_owner;
115
116 UserIdentity m_userIdentity;
117
118 Aws::String m_vpcConnectionArn;
119 bool m_creationTimeHasBeenSet = false;
120 bool m_ownerHasBeenSet = false;
121 bool m_userIdentityHasBeenSet = false;
122 bool m_vpcConnectionArnHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace Kafka
127} // namespace Aws
VpcConnectionInfoServerless & WithVpcConnectionArn(VpcConnectionArnT &&value)
AWS_KAFKA_API VpcConnectionInfoServerless(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API VpcConnectionInfoServerless()=default
VpcConnectionInfoServerless & WithCreationTime(CreationTimeT &&value)
VpcConnectionInfoServerless & WithUserIdentity(UserIdentityT &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConnectionInfoServerless & WithOwner(OwnerT &&value)
AWS_KAFKA_API VpcConnectionInfoServerless & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue