AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VpcConnectionInfoServerless.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafka/model/UserIdentity.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
34 {
35 public:
36 AWS_KAFKA_API VpcConnectionInfoServerless() = default;
39 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
48 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
49 template<typename CreationTimeT = Aws::Utils::DateTime>
50 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
51 template<typename CreationTimeT = Aws::Utils::DateTime>
52 VpcConnectionInfoServerless& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
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) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
64 template<typename OwnerT = Aws::String>
65 VpcConnectionInfoServerless& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
67
69
73 inline const UserIdentity& GetUserIdentity() const { return m_userIdentity; }
74 inline bool UserIdentityHasBeenSet() const { return m_userIdentityHasBeenSet; }
75 template<typename UserIdentityT = UserIdentity>
76 void SetUserIdentity(UserIdentityT&& value) { m_userIdentityHasBeenSet = true; m_userIdentity = std::forward<UserIdentityT>(value); }
77 template<typename UserIdentityT = UserIdentity>
78 VpcConnectionInfoServerless& WithUserIdentity(UserIdentityT&& value) { SetUserIdentity(std::forward<UserIdentityT>(value)); return *this;}
80
82
86 inline const Aws::String& GetVpcConnectionArn() const { return m_vpcConnectionArn; }
87 inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; }
88 template<typename VpcConnectionArnT = Aws::String>
89 void SetVpcConnectionArn(VpcConnectionArnT&& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value); }
90 template<typename VpcConnectionArnT = Aws::String>
91 VpcConnectionInfoServerless& WithVpcConnectionArn(VpcConnectionArnT&& value) { SetVpcConnectionArn(std::forward<VpcConnectionArnT>(value)); return *this;}
93 private:
94
95 Aws::Utils::DateTime m_creationTime{};
96 bool m_creationTimeHasBeenSet = false;
97
98 Aws::String m_owner;
99 bool m_ownerHasBeenSet = false;
100
101 UserIdentity m_userIdentity;
102 bool m_userIdentityHasBeenSet = false;
103
104 Aws::String m_vpcConnectionArn;
105 bool m_vpcConnectionArnHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Kafka
110} // 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