AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StopApplicationRequest.h
1
6#pragma once
7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/ssm-sap/SsmSapRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm-sap/model/ConnectedEntityType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SsmSap
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSMSAP_API StopApplicationRequest();
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 "StopApplication"; }
32
33 AWS_SSMSAP_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
43 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
44 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
45 inline StopApplicationRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
46 inline StopApplicationRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
47 inline StopApplicationRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
49
51
56 inline const ConnectedEntityType& GetStopConnectedEntity() const{ return m_stopConnectedEntity; }
57 inline bool StopConnectedEntityHasBeenSet() const { return m_stopConnectedEntityHasBeenSet; }
58 inline void SetStopConnectedEntity(const ConnectedEntityType& value) { m_stopConnectedEntityHasBeenSet = true; m_stopConnectedEntity = value; }
59 inline void SetStopConnectedEntity(ConnectedEntityType&& value) { m_stopConnectedEntityHasBeenSet = true; m_stopConnectedEntity = std::move(value); }
63
65
70 inline bool GetIncludeEc2InstanceShutdown() const{ return m_includeEc2InstanceShutdown; }
71 inline bool IncludeEc2InstanceShutdownHasBeenSet() const { return m_includeEc2InstanceShutdownHasBeenSet; }
72 inline void SetIncludeEc2InstanceShutdown(bool value) { m_includeEc2InstanceShutdownHasBeenSet = true; m_includeEc2InstanceShutdown = value; }
75 private:
76
77 Aws::String m_applicationId;
78 bool m_applicationIdHasBeenSet = false;
79
80 ConnectedEntityType m_stopConnectedEntity;
81 bool m_stopConnectedEntityHasBeenSet = false;
82
83 bool m_includeEc2InstanceShutdown;
84 bool m_includeEc2InstanceShutdownHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SsmSap
89} // namespace Aws
void SetStopConnectedEntity(const ConnectedEntityType &value)
StopApplicationRequest & WithIncludeEc2InstanceShutdown(bool value)
StopApplicationRequest & WithApplicationId(const Aws::String &value)
void SetStopConnectedEntity(ConnectedEntityType &&value)
StopApplicationRequest & WithStopConnectedEntity(const ConnectedEntityType &value)
virtual const char * GetServiceRequestName() const override
AWS_SSMSAP_API Aws::String SerializePayload() const override
StopApplicationRequest & WithStopConnectedEntity(ConnectedEntityType &&value)
const ConnectedEntityType & GetStopConnectedEntity() const
StopApplicationRequest & WithApplicationId(const char *value)
void SetApplicationId(const Aws::String &value)
StopApplicationRequest & WithApplicationId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String