AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeClusterSecurityGroupsResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Xml
30 {
31  class XmlDocument;
32 } // namespace Xml
33 } // namespace Utils
34 namespace Redshift
35 {
36 namespace Model
37 {
42  {
43  public:
47 
56  inline const Aws::String& GetMarker() const{ return m_marker; }
57 
66  inline void SetMarker(const Aws::String& value) { m_marker = value; }
67 
76  inline void SetMarker(Aws::String&& value) { m_marker = value; }
77 
86  inline void SetMarker(const char* value) { m_marker.assign(value); }
87 
96  inline DescribeClusterSecurityGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
97 
106  inline DescribeClusterSecurityGroupsResult& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
107 
116  inline DescribeClusterSecurityGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
117 
121  inline const Aws::Vector<ClusterSecurityGroup>& GetClusterSecurityGroups() const{ return m_clusterSecurityGroups; }
122 
126  inline void SetClusterSecurityGroups(const Aws::Vector<ClusterSecurityGroup>& value) { m_clusterSecurityGroups = value; }
127 
131  inline void SetClusterSecurityGroups(Aws::Vector<ClusterSecurityGroup>&& value) { m_clusterSecurityGroups = value; }
132 
136  inline DescribeClusterSecurityGroupsResult& WithClusterSecurityGroups(const Aws::Vector<ClusterSecurityGroup>& value) { SetClusterSecurityGroups(value); return *this;}
137 
141  inline DescribeClusterSecurityGroupsResult& WithClusterSecurityGroups(Aws::Vector<ClusterSecurityGroup>&& value) { SetClusterSecurityGroups(value); return *this;}
142 
146  inline DescribeClusterSecurityGroupsResult& AddClusterSecurityGroups(const ClusterSecurityGroup& value) { m_clusterSecurityGroups.push_back(value); return *this; }
147 
151  inline DescribeClusterSecurityGroupsResult& AddClusterSecurityGroups(ClusterSecurityGroup&& value) { m_clusterSecurityGroups.push_back(value); return *this; }
152 
153 
154  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
155 
156 
157  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
158 
159 
160  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
161 
162 
163  inline DescribeClusterSecurityGroupsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
164 
165 
166  inline DescribeClusterSecurityGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
167 
168  private:
169  Aws::String m_marker;
170  Aws::Vector<ClusterSecurityGroup> m_clusterSecurityGroups;
171  ResponseMetadata m_responseMetadata;
172  };
173 
174 } // namespace Model
175 } // namespace Redshift
176 } // namespace Aws
DescribeClusterSecurityGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
const Aws::Vector< ClusterSecurityGroup > & GetClusterSecurityGroups() const
DescribeClusterSecurityGroupsResult & WithClusterSecurityGroups(const Aws::Vector< ClusterSecurityGroup > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
void SetClusterSecurityGroups(const Aws::Vector< ClusterSecurityGroup > &value)
DescribeClusterSecurityGroupsResult & WithMarker(const char *value)
DescribeClusterSecurityGroupsResult & AddClusterSecurityGroups(ClusterSecurityGroup &&value)
DescribeClusterSecurityGroupsResult & WithMarker(Aws::String &&value)
DescribeClusterSecurityGroupsResult & WithClusterSecurityGroups(Aws::Vector< ClusterSecurityGroup > &&value)
#define AWS_REDSHIFT_API
DescribeClusterSecurityGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeClusterSecurityGroupsResult & WithMarker(const Aws::String &value)
void SetClusterSecurityGroups(Aws::Vector< ClusterSecurityGroup > &&value)
DescribeClusterSecurityGroupsResult & AddClusterSecurityGroups(const ClusterSecurityGroup &value)
JSON (JavaScript Object Notation).