AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeEnvironmentManagedActionHistoryResult.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 ElasticBeanstalk
35 {
36 namespace Model
37 {
43  {
44  public:
48 
52  inline const Aws::Vector<ManagedActionHistoryItem>& GetManagedActionHistoryItems() const{ return m_managedActionHistoryItems; }
53 
57  inline void SetManagedActionHistoryItems(const Aws::Vector<ManagedActionHistoryItem>& value) { m_managedActionHistoryItems = value; }
58 
62  inline void SetManagedActionHistoryItems(Aws::Vector<ManagedActionHistoryItem>&& value) { m_managedActionHistoryItems = value; }
63 
67  inline DescribeEnvironmentManagedActionHistoryResult& WithManagedActionHistoryItems(const Aws::Vector<ManagedActionHistoryItem>& value) { SetManagedActionHistoryItems(value); return *this;}
68 
72  inline DescribeEnvironmentManagedActionHistoryResult& WithManagedActionHistoryItems(Aws::Vector<ManagedActionHistoryItem>&& value) { SetManagedActionHistoryItems(value); return *this;}
73 
77  inline DescribeEnvironmentManagedActionHistoryResult& AddManagedActionHistoryItems(const ManagedActionHistoryItem& value) { m_managedActionHistoryItems.push_back(value); return *this; }
78 
82  inline DescribeEnvironmentManagedActionHistoryResult& AddManagedActionHistoryItems(ManagedActionHistoryItem&& value) { m_managedActionHistoryItems.push_back(value); return *this; }
83 
89  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
90 
96  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
97 
103  inline void SetNextToken(Aws::String&& value) { m_nextToken = value; }
104 
110  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
111 
117  inline DescribeEnvironmentManagedActionHistoryResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
118 
124  inline DescribeEnvironmentManagedActionHistoryResult& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
125 
131  inline DescribeEnvironmentManagedActionHistoryResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
132 
133 
134  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
135 
136 
137  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
138 
139 
140  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
141 
142 
143  inline DescribeEnvironmentManagedActionHistoryResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
144 
145 
146  inline DescribeEnvironmentManagedActionHistoryResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
147 
148  private:
149  Aws::Vector<ManagedActionHistoryItem> m_managedActionHistoryItems;
150  Aws::String m_nextToken;
151  ResponseMetadata m_responseMetadata;
152  };
153 
154 } // namespace Model
155 } // namespace ElasticBeanstalk
156 } // namespace Aws
#define AWS_ELASTICBEANSTALK_API
DescribeEnvironmentManagedActionHistoryResult & AddManagedActionHistoryItems(ManagedActionHistoryItem &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeEnvironmentManagedActionHistoryResult & WithManagedActionHistoryItems(Aws::Vector< ManagedActionHistoryItem > &&value)
DescribeEnvironmentManagedActionHistoryResult & AddManagedActionHistoryItems(const ManagedActionHistoryItem &value)
DescribeEnvironmentManagedActionHistoryResult & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeEnvironmentManagedActionHistoryResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeEnvironmentManagedActionHistoryResult & WithNextToken(const Aws::String &value)
DescribeEnvironmentManagedActionHistoryResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeEnvironmentManagedActionHistoryResult & WithManagedActionHistoryItems(const Aws::Vector< ManagedActionHistoryItem > &value)
JSON (JavaScript Object Notation).