AWS SDK for C++  0.12.9
AWS SDK for C++
ApplyEnvironmentManagedActionResult.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
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Xml
29 {
30  class XmlDocument;
31 } // namespace Xml
32 } // namespace Utils
33 namespace ElasticBeanstalk
34 {
35 namespace Model
36 {
41  {
42  public:
46 
50  inline const Aws::String& GetActionId() const{ return m_actionId; }
51 
55  inline void SetActionId(const Aws::String& value) { m_actionId = value; }
56 
60  inline void SetActionId(Aws::String&& value) { m_actionId = value; }
61 
65  inline void SetActionId(const char* value) { m_actionId.assign(value); }
66 
70  inline ApplyEnvironmentManagedActionResult& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
71 
75  inline ApplyEnvironmentManagedActionResult& WithActionId(Aws::String&& value) { SetActionId(value); return *this;}
76 
80  inline ApplyEnvironmentManagedActionResult& WithActionId(const char* value) { SetActionId(value); return *this;}
81 
85  inline const Aws::String& GetActionDescription() const{ return m_actionDescription; }
86 
90  inline void SetActionDescription(const Aws::String& value) { m_actionDescription = value; }
91 
95  inline void SetActionDescription(Aws::String&& value) { m_actionDescription = value; }
96 
100  inline void SetActionDescription(const char* value) { m_actionDescription.assign(value); }
101 
105  inline ApplyEnvironmentManagedActionResult& WithActionDescription(const Aws::String& value) { SetActionDescription(value); return *this;}
106 
110  inline ApplyEnvironmentManagedActionResult& WithActionDescription(Aws::String&& value) { SetActionDescription(value); return *this;}
111 
115  inline ApplyEnvironmentManagedActionResult& WithActionDescription(const char* value) { SetActionDescription(value); return *this;}
116 
120  inline const ActionType& GetActionType() const{ return m_actionType; }
121 
125  inline void SetActionType(const ActionType& value) { m_actionType = value; }
126 
130  inline void SetActionType(ActionType&& value) { m_actionType = value; }
131 
135  inline ApplyEnvironmentManagedActionResult& WithActionType(const ActionType& value) { SetActionType(value); return *this;}
136 
140  inline ApplyEnvironmentManagedActionResult& WithActionType(ActionType&& value) { SetActionType(value); return *this;}
141 
145  inline const Aws::String& GetStatus() const{ return m_status; }
146 
150  inline void SetStatus(const Aws::String& value) { m_status = value; }
151 
155  inline void SetStatus(Aws::String&& value) { m_status = value; }
156 
160  inline void SetStatus(const char* value) { m_status.assign(value); }
161 
165  inline ApplyEnvironmentManagedActionResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
166 
170  inline ApplyEnvironmentManagedActionResult& WithStatus(Aws::String&& value) { SetStatus(value); return *this;}
171 
175  inline ApplyEnvironmentManagedActionResult& WithStatus(const char* value) { SetStatus(value); return *this;}
176 
177 
178  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
179 
180 
181  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
182 
183 
184  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
185 
186 
187  inline ApplyEnvironmentManagedActionResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
188 
189 
190  inline ApplyEnvironmentManagedActionResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
191 
192  private:
193  Aws::String m_actionId;
194  Aws::String m_actionDescription;
195  ActionType m_actionType;
196  Aws::String m_status;
197  ResponseMetadata m_responseMetadata;
198  };
199 
200 } // namespace Model
201 } // namespace ElasticBeanstalk
202 } // namespace Aws
ApplyEnvironmentManagedActionResult & WithActionType(const ActionType &value)
ApplyEnvironmentManagedActionResult & WithActionId(const Aws::String &value)
ApplyEnvironmentManagedActionResult & WithActionDescription(Aws::String &&value)
ApplyEnvironmentManagedActionResult & WithActionDescription(const Aws::String &value)
#define AWS_ELASTICBEANSTALK_API
ApplyEnvironmentManagedActionResult & WithActionId(const char *value)
ApplyEnvironmentManagedActionResult & WithActionDescription(const char *value)
ApplyEnvironmentManagedActionResult & WithActionId(Aws::String &&value)
ApplyEnvironmentManagedActionResult & WithResponseMetadata(ResponseMetadata &&value)
ApplyEnvironmentManagedActionResult & WithStatus(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ApplyEnvironmentManagedActionResult & WithActionType(ActionType &&value)
ApplyEnvironmentManagedActionResult & WithStatus(const char *value)
ApplyEnvironmentManagedActionResult & WithResponseMetadata(const ResponseMetadata &value)
ApplyEnvironmentManagedActionResult & WithStatus(const Aws::String &value)
JSON (JavaScript Object Notation).