AWS SDK for C++

AWS SDK for C++ Version 1.11.922

Loading...
Searching...
No Matches
EnvironmentConfiguration.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/continuum/model/EnvironmentNetworkConfiguration.h>
9#include <aws/continuum/model/PatchCreationPolicy.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Continuum {
22namespace Model {
23
30 public:
31 AWS_CONTINUUM_API EnvironmentConfiguration() = default;
34 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const EnvironmentNetworkConfiguration& GetNetwork() const { return m_network; }
41 inline bool NetworkHasBeenSet() const { return m_networkHasBeenSet; }
42 template <typename NetworkT = EnvironmentNetworkConfiguration>
43 void SetNetwork(NetworkT&& value) {
44 m_networkHasBeenSet = true;
45 m_network = std::forward<NetworkT>(value);
46 }
47 template <typename NetworkT = EnvironmentNetworkConfiguration>
49 SetNetwork(std::forward<NetworkT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetScanFrequency() const { return m_scanFrequency; }
60 inline bool ScanFrequencyHasBeenSet() const { return m_scanFrequencyHasBeenSet; }
61 template <typename ScanFrequencyT = Aws::String>
62 void SetScanFrequency(ScanFrequencyT&& value) {
63 m_scanFrequencyHasBeenSet = true;
64 m_scanFrequency = std::forward<ScanFrequencyT>(value);
65 }
66 template <typename ScanFrequencyT = Aws::String>
68 SetScanFrequency(std::forward<ScanFrequencyT>(value));
69 return *this;
70 }
72
74
78 inline PatchCreationPolicy GetPatchCreationPolicy() const { return m_patchCreationPolicy; }
79 inline bool PatchCreationPolicyHasBeenSet() const { return m_patchCreationPolicyHasBeenSet; }
81 m_patchCreationPolicyHasBeenSet = true;
82 m_patchCreationPolicy = value;
83 }
86 return *this;
87 }
89 private:
91
92 Aws::String m_scanFrequency;
93
95 bool m_networkHasBeenSet = false;
96 bool m_scanFrequencyHasBeenSet = false;
97 bool m_patchCreationPolicyHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Continuum
102} // namespace Aws
EnvironmentConfiguration & WithPatchCreationPolicy(PatchCreationPolicy value)
AWS_CONTINUUM_API EnvironmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONTINUUM_API EnvironmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentConfiguration & WithScanFrequency(ScanFrequencyT &&value)
const EnvironmentNetworkConfiguration & GetNetwork() const
EnvironmentConfiguration & WithNetwork(NetworkT &&value)
AWS_CONTINUUM_API EnvironmentConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue