AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
50 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
52 inline VpcConnectionInfoServerless& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetOwner() const{ return m_owner; }
61 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
62 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
63 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
64 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
65 inline VpcConnectionInfoServerless& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
66 inline VpcConnectionInfoServerless& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
67 inline VpcConnectionInfoServerless& WithOwner(const char* value) { SetOwner(value); return *this;}
69
71
75 inline const UserIdentity& GetUserIdentity() const{ return m_userIdentity; }
76 inline bool UserIdentityHasBeenSet() const { return m_userIdentityHasBeenSet; }
77 inline void SetUserIdentity(const UserIdentity& value) { m_userIdentityHasBeenSet = true; m_userIdentity = value; }
78 inline void SetUserIdentity(UserIdentity&& value) { m_userIdentityHasBeenSet = true; m_userIdentity = std::move(value); }
79 inline VpcConnectionInfoServerless& WithUserIdentity(const UserIdentity& value) { SetUserIdentity(value); return *this;}
80 inline VpcConnectionInfoServerless& WithUserIdentity(UserIdentity&& value) { SetUserIdentity(std::move(value)); return *this;}
82
84
88 inline const Aws::String& GetVpcConnectionArn() const{ return m_vpcConnectionArn; }
89 inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; }
90 inline void SetVpcConnectionArn(const Aws::String& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = value; }
91 inline void SetVpcConnectionArn(Aws::String&& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = std::move(value); }
92 inline void SetVpcConnectionArn(const char* value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn.assign(value); }
94 inline VpcConnectionInfoServerless& WithVpcConnectionArn(Aws::String&& value) { SetVpcConnectionArn(std::move(value)); return *this;}
95 inline VpcConnectionInfoServerless& WithVpcConnectionArn(const char* value) { SetVpcConnectionArn(value); return *this;}
97 private:
98
99 Aws::Utils::DateTime m_creationTime;
100 bool m_creationTimeHasBeenSet = false;
101
102 Aws::String m_owner;
103 bool m_ownerHasBeenSet = false;
104
105 UserIdentity m_userIdentity;
106 bool m_userIdentityHasBeenSet = false;
107
108 Aws::String m_vpcConnectionArn;
109 bool m_vpcConnectionArnHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Kafka
114} // namespace Aws
VpcConnectionInfoServerless & WithOwner(const char *value)
VpcConnectionInfoServerless & WithCreationTime(Aws::Utils::DateTime &&value)
VpcConnectionInfoServerless & WithUserIdentity(const UserIdentity &value)
VpcConnectionInfoServerless & WithVpcConnectionArn(const Aws::String &value)
AWS_KAFKA_API VpcConnectionInfoServerless(Aws::Utils::Json::JsonView jsonValue)
VpcConnectionInfoServerless & WithOwner(Aws::String &&value)
VpcConnectionInfoServerless & WithVpcConnectionArn(Aws::String &&value)
VpcConnectionInfoServerless & WithUserIdentity(UserIdentity &&value)
VpcConnectionInfoServerless & WithOwner(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
VpcConnectionInfoServerless & WithVpcConnectionArn(const char *value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConnectionInfoServerless & WithCreationTime(const Aws::Utils::DateTime &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