AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VpcConnectionInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/UserIdentity.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Kafka
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_KAFKA_API VpcConnectionInfo() = default;
42 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::String& GetVpcConnectionArn() const { return m_vpcConnectionArn; }
53 inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; }
54 template<typename VpcConnectionArnT = Aws::String>
55 void SetVpcConnectionArn(VpcConnectionArnT&& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value); }
56 template<typename VpcConnectionArnT = Aws::String>
57 VpcConnectionInfo& WithVpcConnectionArn(VpcConnectionArnT&& value) { SetVpcConnectionArn(std::forward<VpcConnectionArnT>(value)); return *this;}
59
61
66 inline const Aws::String& GetOwner() const { return m_owner; }
67 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
68 template<typename OwnerT = Aws::String>
69 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
70 template<typename OwnerT = Aws::String>
71 VpcConnectionInfo& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
73
75
81 inline const UserIdentity& GetUserIdentity() const { return m_userIdentity; }
82 inline bool UserIdentityHasBeenSet() const { return m_userIdentityHasBeenSet; }
83 template<typename UserIdentityT = UserIdentity>
84 void SetUserIdentity(UserIdentityT&& value) { m_userIdentityHasBeenSet = true; m_userIdentity = std::forward<UserIdentityT>(value); }
85 template<typename UserIdentityT = UserIdentity>
86 VpcConnectionInfo& WithUserIdentity(UserIdentityT&& value) { SetUserIdentity(std::forward<UserIdentityT>(value)); return *this;}
88
90
96 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
97 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 VpcConnectionInfo& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
103 private:
104
105 Aws::String m_vpcConnectionArn;
106 bool m_vpcConnectionArnHasBeenSet = false;
107
108 Aws::String m_owner;
109 bool m_ownerHasBeenSet = false;
110
111 UserIdentity m_userIdentity;
112 bool m_userIdentityHasBeenSet = false;
113
114 Aws::Utils::DateTime m_creationTime{};
115 bool m_creationTimeHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Kafka
120} // namespace Aws
const Aws::String & GetVpcConnectionArn() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetUserIdentity(UserIdentityT &&value)
VpcConnectionInfo & WithVpcConnectionArn(VpcConnectionArnT &&value)
const Aws::String & GetOwner() const
const UserIdentity & GetUserIdentity() const
void SetCreationTime(CreationTimeT &&value)
AWS_KAFKA_API VpcConnectionInfo(Aws::Utils::Json::JsonView jsonValue)
VpcConnectionInfo & WithOwner(OwnerT &&value)
void SetVpcConnectionArn(VpcConnectionArnT &&value)
AWS_KAFKA_API VpcConnectionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConnectionInfo & WithCreationTime(CreationTimeT &&value)
AWS_KAFKA_API VpcConnectionInfo()=default
VpcConnectionInfo & WithUserIdentity(UserIdentityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue