AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
StartConfigurationChecksRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm-sap/model/ConfigurationCheckType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SsmSap
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SSMSAP_API StartConfigurationChecksRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartConfigurationChecks"; }
33
34 AWS_SSMSAP_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 template<typename ApplicationIdT = Aws::String>
44 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
45 template<typename ApplicationIdT = Aws::String>
46 StartConfigurationChecksRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
48
50
53 inline const Aws::Vector<ConfigurationCheckType>& GetConfigurationCheckIds() const { return m_configurationCheckIds; }
54 inline bool ConfigurationCheckIdsHasBeenSet() const { return m_configurationCheckIdsHasBeenSet; }
55 template<typename ConfigurationCheckIdsT = Aws::Vector<ConfigurationCheckType>>
56 void SetConfigurationCheckIds(ConfigurationCheckIdsT&& value) { m_configurationCheckIdsHasBeenSet = true; m_configurationCheckIds = std::forward<ConfigurationCheckIdsT>(value); }
57 template<typename ConfigurationCheckIdsT = Aws::Vector<ConfigurationCheckType>>
58 StartConfigurationChecksRequest& WithConfigurationCheckIds(ConfigurationCheckIdsT&& value) { SetConfigurationCheckIds(std::forward<ConfigurationCheckIdsT>(value)); return *this;}
59 inline StartConfigurationChecksRequest& AddConfigurationCheckIds(ConfigurationCheckType value) { m_configurationCheckIdsHasBeenSet = true; m_configurationCheckIds.push_back(value); return *this; }
61 private:
62
63 Aws::String m_applicationId;
64 bool m_applicationIdHasBeenSet = false;
65
66 Aws::Vector<ConfigurationCheckType> m_configurationCheckIds;
67 bool m_configurationCheckIdsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace SsmSap
72} // 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