AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
StartConfigurationChecksResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm-sap/SsmSap_EXPORTS.h>
11#include <aws/ssm-sap/model/ConfigurationCheckOperation.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SsmSap {
25namespace Model {
27 public:
28 AWS_SSMSAP_API StartConfigurationChecksResult() = default;
31
33
36 inline const Aws::Vector<ConfigurationCheckOperation>& GetConfigurationCheckOperations() const { return m_configurationCheckOperations; }
37 template <typename ConfigurationCheckOperationsT = Aws::Vector<ConfigurationCheckOperation>>
38 void SetConfigurationCheckOperations(ConfigurationCheckOperationsT&& value) {
39 m_configurationCheckOperationsHasBeenSet = true;
40 m_configurationCheckOperations = std::forward<ConfigurationCheckOperationsT>(value);
41 }
42 template <typename ConfigurationCheckOperationsT = Aws::Vector<ConfigurationCheckOperation>>
43 StartConfigurationChecksResult& WithConfigurationCheckOperations(ConfigurationCheckOperationsT&& value) {
44 SetConfigurationCheckOperations(std::forward<ConfigurationCheckOperationsT>(value));
45 return *this;
46 }
47 template <typename ConfigurationCheckOperationsT = ConfigurationCheckOperation>
48 StartConfigurationChecksResult& AddConfigurationCheckOperations(ConfigurationCheckOperationsT&& value) {
49 m_configurationCheckOperationsHasBeenSet = true;
50 m_configurationCheckOperations.emplace_back(std::forward<ConfigurationCheckOperationsT>(value));
51 return *this;
52 }
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template <typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) {
60 m_requestIdHasBeenSet = true;
61 m_requestId = std::forward<RequestIdT>(value);
62 }
63 template <typename RequestIdT = Aws::String>
65 SetRequestId(std::forward<RequestIdT>(value));
66 return *this;
67 }
69 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
70
71 private:
72 Aws::Vector<ConfigurationCheckOperation> m_configurationCheckOperations;
73
74 Aws::String m_requestId;
75 Aws::Http::HttpResponseCode m_HttpResponseCode;
76 bool m_configurationCheckOperationsHasBeenSet = false;
77 bool m_requestIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace SsmSap
82} // namespace Aws
StartConfigurationChecksResult & WithRequestId(RequestIdT &&value)
AWS_SSMSAP_API StartConfigurationChecksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartConfigurationChecksResult & WithConfigurationCheckOperations(ConfigurationCheckOperationsT &&value)
AWS_SSMSAP_API StartConfigurationChecksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartConfigurationChecksResult & AddConfigurationCheckOperations(ConfigurationCheckOperationsT &&value)
const Aws::Vector< ConfigurationCheckOperation > & GetConfigurationCheckOperations() const
AWS_SSMSAP_API StartConfigurationChecksResult()=default
void SetConfigurationCheckOperations(ConfigurationCheckOperationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue