AWS SDK for C++

AWS SDK for C++ Version 1.11.874

Loading...
Searching...
No Matches
UpdateManagedInstancesProviderConfiguration.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/InfrastructureOptimization.h>
9#include <aws/batch/model/InstanceLaunchTemplateUpdate.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 Batch {
22namespace Model {
23
33 public:
37 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
46 inline const Aws::String& GetPropagateTags() const { return m_propagateTags; }
47 inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
48 template <typename PropagateTagsT = Aws::String>
49 void SetPropagateTags(PropagateTagsT&& value) {
50 m_propagateTagsHasBeenSet = true;
51 m_propagateTags = std::forward<PropagateTagsT>(value);
52 }
53 template <typename PropagateTagsT = Aws::String>
55 SetPropagateTags(std::forward<PropagateTagsT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetInfrastructureRoleArn() const { return m_infrastructureRoleArn; }
66 inline bool InfrastructureRoleArnHasBeenSet() const { return m_infrastructureRoleArnHasBeenSet; }
67 template <typename InfrastructureRoleArnT = Aws::String>
68 void SetInfrastructureRoleArn(InfrastructureRoleArnT&& value) {
69 m_infrastructureRoleArnHasBeenSet = true;
70 m_infrastructureRoleArn = std::forward<InfrastructureRoleArnT>(value);
71 }
72 template <typename InfrastructureRoleArnT = Aws::String>
74 SetInfrastructureRoleArn(std::forward<InfrastructureRoleArnT>(value));
75 return *this;
76 }
78
80
84 inline const InstanceLaunchTemplateUpdate& GetInstanceLaunchTemplate() const { return m_instanceLaunchTemplate; }
85 inline bool InstanceLaunchTemplateHasBeenSet() const { return m_instanceLaunchTemplateHasBeenSet; }
86 template <typename InstanceLaunchTemplateT = InstanceLaunchTemplateUpdate>
87 void SetInstanceLaunchTemplate(InstanceLaunchTemplateT&& value) {
88 m_instanceLaunchTemplateHasBeenSet = true;
89 m_instanceLaunchTemplate = std::forward<InstanceLaunchTemplateT>(value);
90 }
91 template <typename InstanceLaunchTemplateT = InstanceLaunchTemplateUpdate>
93 SetInstanceLaunchTemplate(std::forward<InstanceLaunchTemplateT>(value));
94 return *this;
95 }
97
99
102 inline const InfrastructureOptimization& GetInfrastructureOptimization() const { return m_infrastructureOptimization; }
103 inline bool InfrastructureOptimizationHasBeenSet() const { return m_infrastructureOptimizationHasBeenSet; }
104 template <typename InfrastructureOptimizationT = InfrastructureOptimization>
105 void SetInfrastructureOptimization(InfrastructureOptimizationT&& value) {
106 m_infrastructureOptimizationHasBeenSet = true;
107 m_infrastructureOptimization = std::forward<InfrastructureOptimizationT>(value);
108 }
109 template <typename InfrastructureOptimizationT = InfrastructureOptimization>
111 SetInfrastructureOptimization(std::forward<InfrastructureOptimizationT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_propagateTags;
117
118 Aws::String m_infrastructureRoleArn;
119
120 InstanceLaunchTemplateUpdate m_instanceLaunchTemplate;
121
122 InfrastructureOptimization m_infrastructureOptimization;
123 bool m_propagateTagsHasBeenSet = false;
124 bool m_infrastructureRoleArnHasBeenSet = false;
125 bool m_instanceLaunchTemplateHasBeenSet = false;
126 bool m_infrastructureOptimizationHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace Batch
131} // namespace Aws
UpdateManagedInstancesProviderConfiguration & WithPropagateTags(PropagateTagsT &&value)
UpdateManagedInstancesProviderConfiguration & WithInfrastructureOptimization(InfrastructureOptimizationT &&value)
AWS_BATCH_API UpdateManagedInstancesProviderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateManagedInstancesProviderConfiguration & WithInstanceLaunchTemplate(InstanceLaunchTemplateT &&value)
UpdateManagedInstancesProviderConfiguration & WithInfrastructureRoleArn(InfrastructureRoleArnT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API UpdateManagedInstancesProviderConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue