AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ExecutionControls.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/SsmControls.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConfigService {
20namespace Model {
21
29 public:
30 AWS_CONFIGSERVICE_API ExecutionControls() = default;
31 AWS_CONFIGSERVICE_API ExecutionControls(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONFIGSERVICE_API ExecutionControls& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const SsmControls& GetSsmControls() const { return m_ssmControls; }
40 inline bool SsmControlsHasBeenSet() const { return m_ssmControlsHasBeenSet; }
41 template <typename SsmControlsT = SsmControls>
42 void SetSsmControls(SsmControlsT&& value) {
43 m_ssmControlsHasBeenSet = true;
44 m_ssmControls = std::forward<SsmControlsT>(value);
45 }
46 template <typename SsmControlsT = SsmControls>
47 ExecutionControls& WithSsmControls(SsmControlsT&& value) {
48 SetSsmControls(std::forward<SsmControlsT>(value));
49 return *this;
50 }
52 private:
53 SsmControls m_ssmControls;
54 bool m_ssmControlsHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace ConfigService
59} // namespace Aws
AWS_CONFIGSERVICE_API ExecutionControls(Aws::Utils::Json::JsonView jsonValue)
ExecutionControls & WithSsmControls(SsmControlsT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API ExecutionControls()=default
AWS_CONFIGSERVICE_API ExecutionControls & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue