AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
StartConfigurationChecksRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm-sap/SsmSapRequest.h>
10#include <aws/ssm-sap/SsmSap_EXPORTS.h>
11#include <aws/ssm-sap/model/ConfigurationCheckType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SsmSap {
17namespace Model {
18
22 public:
23 AWS_SSMSAP_API StartConfigurationChecksRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartConfigurationChecks"; }
30
31 AWS_SSMSAP_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
38 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
39 template <typename ApplicationIdT = Aws::String>
40 void SetApplicationId(ApplicationIdT&& value) {
41 m_applicationIdHasBeenSet = true;
42 m_applicationId = std::forward<ApplicationIdT>(value);
43 }
44 template <typename ApplicationIdT = Aws::String>
46 SetApplicationId(std::forward<ApplicationIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::Vector<ConfigurationCheckType>& GetConfigurationCheckIds() const { return m_configurationCheckIds; }
56 inline bool ConfigurationCheckIdsHasBeenSet() const { return m_configurationCheckIdsHasBeenSet; }
57 template <typename ConfigurationCheckIdsT = Aws::Vector<ConfigurationCheckType>>
58 void SetConfigurationCheckIds(ConfigurationCheckIdsT&& value) {
59 m_configurationCheckIdsHasBeenSet = true;
60 m_configurationCheckIds = std::forward<ConfigurationCheckIdsT>(value);
61 }
62 template <typename ConfigurationCheckIdsT = Aws::Vector<ConfigurationCheckType>>
64 SetConfigurationCheckIds(std::forward<ConfigurationCheckIdsT>(value));
65 return *this;
66 }
68 m_configurationCheckIdsHasBeenSet = true;
69 m_configurationCheckIds.push_back(value);
70 return *this;
71 }
73 private:
74 Aws::String m_applicationId;
75
76 Aws::Vector<ConfigurationCheckType> m_configurationCheckIds;
77 bool m_applicationIdHasBeenSet = false;
78 bool m_configurationCheckIdsHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace SsmSap
83} // namespace Aws
StartConfigurationChecksRequest & WithConfigurationCheckIds(ConfigurationCheckIdsT &&value)
AWS_SSMSAP_API Aws::String SerializePayload() const override
const Aws::Vector< ConfigurationCheckType > & GetConfigurationCheckIds() const
StartConfigurationChecksRequest & WithApplicationId(ApplicationIdT &&value)
StartConfigurationChecksRequest & AddConfigurationCheckIds(ConfigurationCheckType value)
AWS_SSMSAP_API StartConfigurationChecksRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector