AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkInsightsAccessScopeContent.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/AccessScopePath.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace EC2
24{
25namespace Model
26{
27
34 {
35 public:
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetNetworkInsightsAccessScopeId() const{ return m_networkInsightsAccessScopeId; }
49 inline bool NetworkInsightsAccessScopeIdHasBeenSet() const { return m_networkInsightsAccessScopeIdHasBeenSet; }
50 inline void SetNetworkInsightsAccessScopeId(const Aws::String& value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId = value; }
51 inline void SetNetworkInsightsAccessScopeId(Aws::String&& value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId = std::move(value); }
52 inline void SetNetworkInsightsAccessScopeId(const char* value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId.assign(value); }
57
59
62 inline const Aws::Vector<AccessScopePath>& GetMatchPaths() const{ return m_matchPaths; }
63 inline bool MatchPathsHasBeenSet() const { return m_matchPathsHasBeenSet; }
64 inline void SetMatchPaths(const Aws::Vector<AccessScopePath>& value) { m_matchPathsHasBeenSet = true; m_matchPaths = value; }
65 inline void SetMatchPaths(Aws::Vector<AccessScopePath>&& value) { m_matchPathsHasBeenSet = true; m_matchPaths = std::move(value); }
68 inline NetworkInsightsAccessScopeContent& AddMatchPaths(const AccessScopePath& value) { m_matchPathsHasBeenSet = true; m_matchPaths.push_back(value); return *this; }
69 inline NetworkInsightsAccessScopeContent& AddMatchPaths(AccessScopePath&& value) { m_matchPathsHasBeenSet = true; m_matchPaths.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::Vector<AccessScopePath>& GetExcludePaths() const{ return m_excludePaths; }
77 inline bool ExcludePathsHasBeenSet() const { return m_excludePathsHasBeenSet; }
78 inline void SetExcludePaths(const Aws::Vector<AccessScopePath>& value) { m_excludePathsHasBeenSet = true; m_excludePaths = value; }
79 inline void SetExcludePaths(Aws::Vector<AccessScopePath>&& value) { m_excludePathsHasBeenSet = true; m_excludePaths = std::move(value); }
82 inline NetworkInsightsAccessScopeContent& AddExcludePaths(const AccessScopePath& value) { m_excludePathsHasBeenSet = true; m_excludePaths.push_back(value); return *this; }
83 inline NetworkInsightsAccessScopeContent& AddExcludePaths(AccessScopePath&& value) { m_excludePathsHasBeenSet = true; m_excludePaths.push_back(std::move(value)); return *this; }
85 private:
86
87 Aws::String m_networkInsightsAccessScopeId;
88 bool m_networkInsightsAccessScopeIdHasBeenSet = false;
89
91 bool m_matchPathsHasBeenSet = false;
92
93 Aws::Vector<AccessScopePath> m_excludePaths;
94 bool m_excludePathsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace EC2
99} // namespace Aws
void SetMatchPaths(Aws::Vector< AccessScopePath > &&value)
NetworkInsightsAccessScopeContent & WithNetworkInsightsAccessScopeId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NetworkInsightsAccessScopeContent & WithMatchPaths(const Aws::Vector< AccessScopePath > &value)
const Aws::Vector< AccessScopePath > & GetMatchPaths() const
AWS_EC2_API NetworkInsightsAccessScopeContent(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkInsightsAccessScopeContent & WithExcludePaths(Aws::Vector< AccessScopePath > &&value)
NetworkInsightsAccessScopeContent & AddExcludePaths(AccessScopePath &&value)
NetworkInsightsAccessScopeContent & WithNetworkInsightsAccessScopeId(const Aws::String &value)
NetworkInsightsAccessScopeContent & AddExcludePaths(const AccessScopePath &value)
NetworkInsightsAccessScopeContent & WithExcludePaths(const Aws::Vector< AccessScopePath > &value)
AWS_EC2_API NetworkInsightsAccessScopeContent & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetExcludePaths(Aws::Vector< AccessScopePath > &&value)
const Aws::Vector< AccessScopePath > & GetExcludePaths() const
NetworkInsightsAccessScopeContent & AddMatchPaths(const AccessScopePath &value)
NetworkInsightsAccessScopeContent & WithNetworkInsightsAccessScopeId(const char *value)
void SetExcludePaths(const Aws::Vector< AccessScopePath > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetMatchPaths(const Aws::Vector< AccessScopePath > &value)
NetworkInsightsAccessScopeContent & WithMatchPaths(Aws::Vector< AccessScopePath > &&value)
NetworkInsightsAccessScopeContent & AddMatchPaths(AccessScopePath &&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