AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeAgentVersionsRequest.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 OpsWorks
24 {
25 namespace Model
26 {
27 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37 
41  inline const Aws::String& GetStackId() const{ return m_stackId; }
42 
46  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
47 
51  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
52 
56  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
57 
61  inline DescribeAgentVersionsRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
62 
66  inline DescribeAgentVersionsRequest& WithStackId(Aws::String&& value) { SetStackId(value); return *this;}
67 
71  inline DescribeAgentVersionsRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
72 
76  inline const StackConfigurationManager& GetConfigurationManager() const{ return m_configurationManager; }
77 
81  inline void SetConfigurationManager(const StackConfigurationManager& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = value; }
82 
86  inline void SetConfigurationManager(StackConfigurationManager&& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = value; }
87 
91  inline DescribeAgentVersionsRequest& WithConfigurationManager(const StackConfigurationManager& value) { SetConfigurationManager(value); return *this;}
92 
96  inline DescribeAgentVersionsRequest& WithConfigurationManager(StackConfigurationManager&& value) { SetConfigurationManager(value); return *this;}
97 
98  private:
99  Aws::String m_stackId;
100  bool m_stackIdHasBeenSet;
101  StackConfigurationManager m_configurationManager;
102  bool m_configurationManagerHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace OpsWorks
107 } // namespace Aws
void SetConfigurationManager(StackConfigurationManager &&value)
const StackConfigurationManager & GetConfigurationManager() const
void SetConfigurationManager(const StackConfigurationManager &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
DescribeAgentVersionsRequest & WithStackId(Aws::String &&value)
DescribeAgentVersionsRequest & WithStackId(const char *value)
DescribeAgentVersionsRequest & WithConfigurationManager(const StackConfigurationManager &value)
DescribeAgentVersionsRequest & WithConfigurationManager(StackConfigurationManager &&value)
DescribeAgentVersionsRequest & WithStackId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_OPSWORKS_API
JSON (JavaScript Object Notation).