AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerifiedAccessInstance.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/VerifiedAccessTrustProviderCondensed.h>
12#include <aws/ec2/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
28
35 {
36 public:
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetVerifiedAccessInstanceId() const{ return m_verifiedAccessInstanceId; }
50 inline bool VerifiedAccessInstanceIdHasBeenSet() const { return m_verifiedAccessInstanceIdHasBeenSet; }
51 inline void SetVerifiedAccessInstanceId(const Aws::String& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = value; }
52 inline void SetVerifiedAccessInstanceId(Aws::String&& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = std::move(value); }
53 inline void SetVerifiedAccessInstanceId(const char* value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId.assign(value); }
56 inline VerifiedAccessInstance& WithVerifiedAccessInstanceId(const char* value) { SetVerifiedAccessInstanceId(value); return *this;}
58
60
63 inline const Aws::String& GetDescription() const{ return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
66 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
67 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
68 inline VerifiedAccessInstance& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
69 inline VerifiedAccessInstance& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
70 inline VerifiedAccessInstance& WithDescription(const char* value) { SetDescription(value); return *this;}
72
74
77 inline const Aws::Vector<VerifiedAccessTrustProviderCondensed>& GetVerifiedAccessTrustProviders() const{ return m_verifiedAccessTrustProviders; }
78 inline bool VerifiedAccessTrustProvidersHasBeenSet() const { return m_verifiedAccessTrustProvidersHasBeenSet; }
79 inline void SetVerifiedAccessTrustProviders(const Aws::Vector<VerifiedAccessTrustProviderCondensed>& value) { m_verifiedAccessTrustProvidersHasBeenSet = true; m_verifiedAccessTrustProviders = value; }
80 inline void SetVerifiedAccessTrustProviders(Aws::Vector<VerifiedAccessTrustProviderCondensed>&& value) { m_verifiedAccessTrustProvidersHasBeenSet = true; m_verifiedAccessTrustProviders = std::move(value); }
83 inline VerifiedAccessInstance& AddVerifiedAccessTrustProviders(const VerifiedAccessTrustProviderCondensed& value) { m_verifiedAccessTrustProvidersHasBeenSet = true; m_verifiedAccessTrustProviders.push_back(value); return *this; }
84 inline VerifiedAccessInstance& AddVerifiedAccessTrustProviders(VerifiedAccessTrustProviderCondensed&& value) { m_verifiedAccessTrustProvidersHasBeenSet = true; m_verifiedAccessTrustProviders.push_back(std::move(value)); return *this; }
86
88
91 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
92 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
93 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
94 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
95 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
96 inline VerifiedAccessInstance& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
97 inline VerifiedAccessInstance& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
98 inline VerifiedAccessInstance& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
100
102
105 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
106 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
107 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
108 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
109 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
110 inline VerifiedAccessInstance& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
111 inline VerifiedAccessInstance& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
112 inline VerifiedAccessInstance& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
114
116
119 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
120 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
121 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
122 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
123 inline VerifiedAccessInstance& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
124 inline VerifiedAccessInstance& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
125 inline VerifiedAccessInstance& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
126 inline VerifiedAccessInstance& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
128
130
134 inline bool GetFipsEnabled() const{ return m_fipsEnabled; }
135 inline bool FipsEnabledHasBeenSet() const { return m_fipsEnabledHasBeenSet; }
136 inline void SetFipsEnabled(bool value) { m_fipsEnabledHasBeenSet = true; m_fipsEnabled = value; }
137 inline VerifiedAccessInstance& WithFipsEnabled(bool value) { SetFipsEnabled(value); return *this;}
139 private:
140
141 Aws::String m_verifiedAccessInstanceId;
142 bool m_verifiedAccessInstanceIdHasBeenSet = false;
143
144 Aws::String m_description;
145 bool m_descriptionHasBeenSet = false;
146
147 Aws::Vector<VerifiedAccessTrustProviderCondensed> m_verifiedAccessTrustProviders;
148 bool m_verifiedAccessTrustProvidersHasBeenSet = false;
149
150 Aws::String m_creationTime;
151 bool m_creationTimeHasBeenSet = false;
152
153 Aws::String m_lastUpdatedTime;
154 bool m_lastUpdatedTimeHasBeenSet = false;
155
156 Aws::Vector<Tag> m_tags;
157 bool m_tagsHasBeenSet = false;
158
159 bool m_fipsEnabled;
160 bool m_fipsEnabledHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace EC2
165} // namespace Aws
AWS_EC2_API VerifiedAccessInstance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDescription(const Aws::String &value)
VerifiedAccessInstance & AddTags(const Tag &value)
VerifiedAccessInstance & AddVerifiedAccessTrustProviders(const VerifiedAccessTrustProviderCondensed &value)
const Aws::Vector< Tag > & GetTags() const
VerifiedAccessInstance & WithVerifiedAccessInstanceId(const Aws::String &value)
void SetVerifiedAccessInstanceId(Aws::String &&value)
void SetLastUpdatedTime(const Aws::String &value)
VerifiedAccessInstance & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< VerifiedAccessTrustProviderCondensed > & GetVerifiedAccessTrustProviders() const
VerifiedAccessInstance & WithDescription(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VerifiedAccessInstance & WithLastUpdatedTime(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetVerifiedAccessTrustProviders(Aws::Vector< VerifiedAccessTrustProviderCondensed > &&value)
VerifiedAccessInstance & AddVerifiedAccessTrustProviders(VerifiedAccessTrustProviderCondensed &&value)
VerifiedAccessInstance & WithCreationTime(const char *value)
VerifiedAccessInstance & WithVerifiedAccessInstanceId(Aws::String &&value)
VerifiedAccessInstance & WithDescription(const Aws::String &value)
VerifiedAccessInstance & WithTags(const Aws::Vector< Tag > &value)
void SetVerifiedAccessInstanceId(const Aws::String &value)
void SetVerifiedAccessTrustProviders(const Aws::Vector< VerifiedAccessTrustProviderCondensed > &value)
VerifiedAccessInstance & WithLastUpdatedTime(const Aws::String &value)
VerifiedAccessInstance & WithLastUpdatedTime(const char *value)
AWS_EC2_API VerifiedAccessInstance(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessInstance & WithFipsEnabled(bool value)
void SetCreationTime(const Aws::String &value)
VerifiedAccessInstance & WithCreationTime(Aws::String &&value)
VerifiedAccessInstance & AddTags(Tag &&value)
const Aws::String & GetVerifiedAccessInstanceId() const
VerifiedAccessInstance & WithVerifiedAccessTrustProviders(Aws::Vector< VerifiedAccessTrustProviderCondensed > &&value)
VerifiedAccessInstance & WithCreationTime(const Aws::String &value)
VerifiedAccessInstance & WithVerifiedAccessTrustProviders(const Aws::Vector< VerifiedAccessTrustProviderCondensed > &value)
void SetTags(Aws::Vector< Tag > &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VerifiedAccessInstance & WithDescription(Aws::String &&value)
VerifiedAccessInstance & WithVerifiedAccessInstanceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream