AWS SDK for C++  0.12.9
AWS SDK for C++
RequestEnvironmentInfoRequest.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 namespace ElasticBeanstalk
24 {
25 namespace Model
26 {
27 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
45  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
46 
54  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
55 
63  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
64 
72  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
73 
81  inline RequestEnvironmentInfoRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
82 
90  inline RequestEnvironmentInfoRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(value); return *this;}
91 
99  inline RequestEnvironmentInfoRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
100 
108  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
109 
117  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
118 
126  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
127 
135  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
136 
144  inline RequestEnvironmentInfoRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
145 
153  inline RequestEnvironmentInfoRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(value); return *this;}
154 
162  inline RequestEnvironmentInfoRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
163 
167  inline const EnvironmentInfoType& GetInfoType() const{ return m_infoType; }
168 
172  inline void SetInfoType(const EnvironmentInfoType& value) { m_infoTypeHasBeenSet = true; m_infoType = value; }
173 
177  inline void SetInfoType(EnvironmentInfoType&& value) { m_infoTypeHasBeenSet = true; m_infoType = value; }
178 
182  inline RequestEnvironmentInfoRequest& WithInfoType(const EnvironmentInfoType& value) { SetInfoType(value); return *this;}
183 
187  inline RequestEnvironmentInfoRequest& WithInfoType(EnvironmentInfoType&& value) { SetInfoType(value); return *this;}
188 
189  private:
190  Aws::String m_environmentId;
191  bool m_environmentIdHasBeenSet;
192  Aws::String m_environmentName;
193  bool m_environmentNameHasBeenSet;
194  EnvironmentInfoType m_infoType;
195  bool m_infoTypeHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace ElasticBeanstalk
200 } // namespace Aws
#define AWS_ELASTICBEANSTALK_API
RequestEnvironmentInfoRequest & WithEnvironmentId(Aws::String &&value)
RequestEnvironmentInfoRequest & WithInfoType(const EnvironmentInfoType &value)
RequestEnvironmentInfoRequest & WithInfoType(EnvironmentInfoType &&value)
RequestEnvironmentInfoRequest & WithEnvironmentName(Aws::String &&value)
RequestEnvironmentInfoRequest & WithEnvironmentName(const char *value)
RequestEnvironmentInfoRequest & WithEnvironmentId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RequestEnvironmentInfoRequest & WithEnvironmentId(const char *value)
RequestEnvironmentInfoRequest & WithEnvironmentName(const Aws::String &value)
JSON (JavaScript Object Notation).