AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeClusterSecurityGroupsResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/ClusterSecurityGroup.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace Redshift
27{
28namespace Model
29{
36 {
37 public:
41
42
44
52 inline const Aws::String& GetMarker() const{ return m_marker; }
53 inline void SetMarker(const Aws::String& value) { m_marker = value; }
54 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
55 inline void SetMarker(const char* value) { m_marker.assign(value); }
56 inline DescribeClusterSecurityGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
57 inline DescribeClusterSecurityGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
58 inline DescribeClusterSecurityGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
60
62
65 inline const Aws::Vector<ClusterSecurityGroup>& GetClusterSecurityGroups() const{ return m_clusterSecurityGroups; }
66 inline void SetClusterSecurityGroups(const Aws::Vector<ClusterSecurityGroup>& value) { m_clusterSecurityGroups = value; }
67 inline void SetClusterSecurityGroups(Aws::Vector<ClusterSecurityGroup>&& value) { m_clusterSecurityGroups = std::move(value); }
70 inline DescribeClusterSecurityGroupsResult& AddClusterSecurityGroups(const ClusterSecurityGroup& value) { m_clusterSecurityGroups.push_back(value); return *this; }
71 inline DescribeClusterSecurityGroupsResult& AddClusterSecurityGroups(ClusterSecurityGroup&& value) { m_clusterSecurityGroups.push_back(std::move(value)); return *this; }
73
75
76 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
77 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
78 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
82 private:
83
84 Aws::String m_marker;
85
86 Aws::Vector<ClusterSecurityGroup> m_clusterSecurityGroups;
87
88 ResponseMetadata m_responseMetadata;
89 };
90
91} // namespace Model
92} // namespace Redshift
93} // namespace Aws
DescribeClusterSecurityGroupsResult & WithClusterSecurityGroups(Aws::Vector< ClusterSecurityGroup > &&value)
const Aws::Vector< ClusterSecurityGroup > & GetClusterSecurityGroups() const
void SetClusterSecurityGroups(Aws::Vector< ClusterSecurityGroup > &&value)
void SetClusterSecurityGroups(const Aws::Vector< ClusterSecurityGroup > &value)
AWS_REDSHIFT_API DescribeClusterSecurityGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeClusterSecurityGroupsResult & AddClusterSecurityGroups(ClusterSecurityGroup &&value)
DescribeClusterSecurityGroupsResult & WithMarker(const char *value)
AWS_REDSHIFT_API DescribeClusterSecurityGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeClusterSecurityGroupsResult & WithClusterSecurityGroups(const Aws::Vector< ClusterSecurityGroup > &value)
DescribeClusterSecurityGroupsResult & AddClusterSecurityGroups(const ClusterSecurityGroup &value)
DescribeClusterSecurityGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeClusterSecurityGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeClusterSecurityGroupsResult & WithMarker(Aws::String &&value)
DescribeClusterSecurityGroupsResult & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument