AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkInsightsAccessScope.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/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.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& GetNetworkInsightsAccessScopeId() const{ return m_networkInsightsAccessScopeId; }
50 inline bool NetworkInsightsAccessScopeIdHasBeenSet() const { return m_networkInsightsAccessScopeIdHasBeenSet; }
51 inline void SetNetworkInsightsAccessScopeId(const Aws::String& value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId = value; }
52 inline void SetNetworkInsightsAccessScopeId(Aws::String&& value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId = std::move(value); }
53 inline void SetNetworkInsightsAccessScopeId(const char* value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId.assign(value); }
58
60
63 inline const Aws::String& GetNetworkInsightsAccessScopeArn() const{ return m_networkInsightsAccessScopeArn; }
64 inline bool NetworkInsightsAccessScopeArnHasBeenSet() const { return m_networkInsightsAccessScopeArnHasBeenSet; }
65 inline void SetNetworkInsightsAccessScopeArn(const Aws::String& value) { m_networkInsightsAccessScopeArnHasBeenSet = true; m_networkInsightsAccessScopeArn = value; }
66 inline void SetNetworkInsightsAccessScopeArn(Aws::String&& value) { m_networkInsightsAccessScopeArnHasBeenSet = true; m_networkInsightsAccessScopeArn = std::move(value); }
67 inline void SetNetworkInsightsAccessScopeArn(const char* value) { m_networkInsightsAccessScopeArnHasBeenSet = true; m_networkInsightsAccessScopeArn.assign(value); }
72
74
77 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
78 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
79 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
80 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
82 inline NetworkInsightsAccessScope& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetUpdatedDate() const{ return m_updatedDate; }
90 inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
91 inline void SetUpdatedDate(const Aws::Utils::DateTime& value) { m_updatedDateHasBeenSet = true; m_updatedDate = value; }
92 inline void SetUpdatedDate(Aws::Utils::DateTime&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::move(value); }
94 inline NetworkInsightsAccessScope& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;}
96
98
101 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
102 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
103 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
104 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
105 inline NetworkInsightsAccessScope& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
106 inline NetworkInsightsAccessScope& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
107 inline NetworkInsightsAccessScope& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
108 inline NetworkInsightsAccessScope& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
110 private:
111
112 Aws::String m_networkInsightsAccessScopeId;
113 bool m_networkInsightsAccessScopeIdHasBeenSet = false;
114
115 Aws::String m_networkInsightsAccessScopeArn;
116 bool m_networkInsightsAccessScopeArnHasBeenSet = false;
117
118 Aws::Utils::DateTime m_createdDate;
119 bool m_createdDateHasBeenSet = false;
120
121 Aws::Utils::DateTime m_updatedDate;
122 bool m_updatedDateHasBeenSet = false;
123
124 Aws::Vector<Tag> m_tags;
125 bool m_tagsHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace EC2
130} // namespace Aws
void SetTags(const Aws::Vector< Tag > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NetworkInsightsAccessScope & WithNetworkInsightsAccessScopeArn(const Aws::String &value)
NetworkInsightsAccessScope & WithTags(Aws::Vector< Tag > &&value)
NetworkInsightsAccessScope & WithCreatedDate(const Aws::Utils::DateTime &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCreatedDate(Aws::Utils::DateTime &&value)
NetworkInsightsAccessScope & WithNetworkInsightsAccessScopeArn(Aws::String &&value)
NetworkInsightsAccessScope & WithUpdatedDate(const Aws::Utils::DateTime &value)
void SetNetworkInsightsAccessScopeId(const Aws::String &value)
NetworkInsightsAccessScope & WithNetworkInsightsAccessScopeId(const char *value)
const Aws::Utils::DateTime & GetCreatedDate() const
AWS_EC2_API NetworkInsightsAccessScope(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkInsightsAccessScope & WithNetworkInsightsAccessScopeArn(const char *value)
void SetUpdatedDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedDate() const
void SetUpdatedDate(Aws::Utils::DateTime &&value)
NetworkInsightsAccessScope & AddTags(const Tag &value)
AWS_EC2_API NetworkInsightsAccessScope & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNetworkInsightsAccessScopeArn(const Aws::String &value)
NetworkInsightsAccessScope & WithNetworkInsightsAccessScopeId(const Aws::String &value)
NetworkInsightsAccessScope & WithUpdatedDate(Aws::Utils::DateTime &&value)
NetworkInsightsAccessScope & WithTags(const Aws::Vector< Tag > &value)
NetworkInsightsAccessScope & WithCreatedDate(Aws::Utils::DateTime &&value)
NetworkInsightsAccessScope & AddTags(Tag &&value)
NetworkInsightsAccessScope & WithNetworkInsightsAccessScopeId(Aws::String &&value)
void SetCreatedDate(const Aws::Utils::DateTime &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