AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SuspendProcessesRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/AutoScalingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AutoScaling
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_AUTOSCALING_API SuspendProcessesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SuspendProcesses"; }
32
33 AWS_AUTOSCALING_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::String& GetAutoScalingGroupName() const{ return m_autoScalingGroupName; }
45 inline bool AutoScalingGroupNameHasBeenSet() const { return m_autoScalingGroupNameHasBeenSet; }
46 inline void SetAutoScalingGroupName(const Aws::String& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = value; }
47 inline void SetAutoScalingGroupName(Aws::String&& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = std::move(value); }
48 inline void SetAutoScalingGroupName(const char* value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName.assign(value); }
50 inline SuspendProcessesRequest& WithAutoScalingGroupName(Aws::String&& value) { SetAutoScalingGroupName(std::move(value)); return *this;}
51 inline SuspendProcessesRequest& WithAutoScalingGroupName(const char* value) { SetAutoScalingGroupName(value); return *this;}
53
55
65 inline const Aws::Vector<Aws::String>& GetScalingProcesses() const{ return m_scalingProcesses; }
66 inline bool ScalingProcessesHasBeenSet() const { return m_scalingProcessesHasBeenSet; }
67 inline void SetScalingProcesses(const Aws::Vector<Aws::String>& value) { m_scalingProcessesHasBeenSet = true; m_scalingProcesses = value; }
68 inline void SetScalingProcesses(Aws::Vector<Aws::String>&& value) { m_scalingProcessesHasBeenSet = true; m_scalingProcesses = std::move(value); }
71 inline SuspendProcessesRequest& AddScalingProcesses(const Aws::String& value) { m_scalingProcessesHasBeenSet = true; m_scalingProcesses.push_back(value); return *this; }
72 inline SuspendProcessesRequest& AddScalingProcesses(Aws::String&& value) { m_scalingProcessesHasBeenSet = true; m_scalingProcesses.push_back(std::move(value)); return *this; }
73 inline SuspendProcessesRequest& AddScalingProcesses(const char* value) { m_scalingProcessesHasBeenSet = true; m_scalingProcesses.push_back(value); return *this; }
75 private:
76
77 Aws::String m_autoScalingGroupName;
78 bool m_autoScalingGroupNameHasBeenSet = false;
79
80 Aws::Vector<Aws::String> m_scalingProcesses;
81 bool m_scalingProcessesHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace AutoScaling
86} // namespace Aws
SuspendProcessesRequest & AddScalingProcesses(const char *value)
const Aws::Vector< Aws::String > & GetScalingProcesses() const
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SuspendProcessesRequest & WithAutoScalingGroupName(const Aws::String &value)
SuspendProcessesRequest & WithScalingProcesses(const Aws::Vector< Aws::String > &value)
SuspendProcessesRequest & AddScalingProcesses(Aws::String &&value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
void SetScalingProcesses(Aws::Vector< Aws::String > &&value)
SuspendProcessesRequest & WithScalingProcesses(Aws::Vector< Aws::String > &&value)
SuspendProcessesRequest & WithAutoScalingGroupName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetScalingProcesses(const Aws::Vector< Aws::String > &value)
SuspendProcessesRequest & AddScalingProcesses(const Aws::String &value)
SuspendProcessesRequest & WithAutoScalingGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector