AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVpcConnectionArn(const Aws::String& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = value; }
55 inline void SetVpcConnectionArn(Aws::String&& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = std::move(value); }
56 inline void SetVpcConnectionArn(const char* value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn.assign(value); }
57 inline VpcConnectionInfo& WithVpcConnectionArn(const Aws::String& value) { SetVpcConnectionArn(value); return *this;}
58 inline VpcConnectionInfo& WithVpcConnectionArn(Aws::String&& value) { SetVpcConnectionArn(std::move(value)); return *this;}
59 inline VpcConnectionInfo& WithVpcConnectionArn(const char* value) { SetVpcConnectionArn(value); return *this;}
61
63
68 inline const Aws::String& GetOwner() const{ return m_owner; }
69 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
70 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
71 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
72 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
73 inline VpcConnectionInfo& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
74 inline VpcConnectionInfo& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
75 inline VpcConnectionInfo& WithOwner(const char* value) { SetOwner(value); return *this;}
77
79
85 inline const UserIdentity& GetUserIdentity() const{ return m_userIdentity; }
86 inline bool UserIdentityHasBeenSet() const { return m_userIdentityHasBeenSet; }
87 inline void SetUserIdentity(const UserIdentity& value) { m_userIdentityHasBeenSet = true; m_userIdentity = value; }
88 inline void SetUserIdentity(UserIdentity&& value) { m_userIdentityHasBeenSet = true; m_userIdentity = std::move(value); }
89 inline VpcConnectionInfo& WithUserIdentity(const UserIdentity& value) { SetUserIdentity(value); return *this;}
90 inline VpcConnectionInfo& WithUserIdentity(UserIdentity&& value) { SetUserIdentity(std::move(value)); return *this;}
92
94
100 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
101 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
102 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
103 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
104 inline VpcConnectionInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
105 inline VpcConnectionInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
107 private:
108
109 Aws::String m_vpcConnectionArn;
110 bool m_vpcConnectionArnHasBeenSet = false;
111
112 Aws::String m_owner;
113 bool m_ownerHasBeenSet = false;
114
115 UserIdentity m_userIdentity;
116 bool m_userIdentityHasBeenSet = false;
117
118 Aws::Utils::DateTime m_creationTime;
119 bool m_creationTimeHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Kafka
124} // namespace Aws
const Aws::String & GetVpcConnectionArn() const
void SetUserIdentity(const UserIdentity &value)
const Aws::Utils::DateTime & GetCreationTime() const
VpcConnectionInfo & WithVpcConnectionArn(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetOwner() const
const UserIdentity & GetUserIdentity() const
void SetVpcConnectionArn(const Aws::String &value)
void SetUserIdentity(UserIdentity &&value)
VpcConnectionInfo & WithUserIdentity(UserIdentity &&value)
VpcConnectionInfo & WithCreationTime(Aws::Utils::DateTime &&value)
VpcConnectionInfo & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_KAFKA_API VpcConnectionInfo(Aws::Utils::Json::JsonView jsonValue)
VpcConnectionInfo & WithUserIdentity(const UserIdentity &value)
VpcConnectionInfo & WithOwner(const Aws::String &value)
VpcConnectionInfo & WithVpcConnectionArn(const char *value)
AWS_KAFKA_API VpcConnectionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOwner(const Aws::String &value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(const Aws::Utils::DateTime &value)
VpcConnectionInfo & WithVpcConnectionArn(const Aws::String &value)
VpcConnectionInfo & WithOwner(Aws::String &&value)
VpcConnectionInfo & WithOwner(const char *value)
void SetVpcConnectionArn(Aws::String &&value)
void SetVpcConnectionArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue