AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateManagedInstancesProviderConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/InfrastructureOptimization.h>
10#include <aws/ecs/model/InstanceLaunchTemplateUpdate.h>
11#include <aws/ecs/model/PropagateMITags.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECS {
23namespace Model {
24
34 public:
39
41
48 inline const Aws::String& GetInfrastructureRoleArn() const { return m_infrastructureRoleArn; }
49 inline bool InfrastructureRoleArnHasBeenSet() const { return m_infrastructureRoleArnHasBeenSet; }
50 template <typename InfrastructureRoleArnT = Aws::String>
51 void SetInfrastructureRoleArn(InfrastructureRoleArnT&& value) {
52 m_infrastructureRoleArnHasBeenSet = true;
53 m_infrastructureRoleArn = std::forward<InfrastructureRoleArnT>(value);
54 }
55 template <typename InfrastructureRoleArnT = Aws::String>
57 SetInfrastructureRoleArn(std::forward<InfrastructureRoleArnT>(value));
58 return *this;
59 }
61
63
68 inline const InstanceLaunchTemplateUpdate& GetInstanceLaunchTemplate() const { return m_instanceLaunchTemplate; }
69 inline bool InstanceLaunchTemplateHasBeenSet() const { return m_instanceLaunchTemplateHasBeenSet; }
70 template <typename InstanceLaunchTemplateT = InstanceLaunchTemplateUpdate>
71 void SetInstanceLaunchTemplate(InstanceLaunchTemplateT&& value) {
72 m_instanceLaunchTemplateHasBeenSet = true;
73 m_instanceLaunchTemplate = std::forward<InstanceLaunchTemplateT>(value);
74 }
75 template <typename InstanceLaunchTemplateT = InstanceLaunchTemplateUpdate>
77 SetInstanceLaunchTemplate(std::forward<InstanceLaunchTemplateT>(value));
78 return *this;
79 }
81
83
87 inline PropagateMITags GetPropagateTags() const { return m_propagateTags; }
88 inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
89 inline void SetPropagateTags(PropagateMITags value) {
90 m_propagateTagsHasBeenSet = true;
91 m_propagateTags = value;
92 }
94 SetPropagateTags(value);
95 return *this;
96 }
98
100
104 inline const InfrastructureOptimization& GetInfrastructureOptimization() const { return m_infrastructureOptimization; }
105 inline bool InfrastructureOptimizationHasBeenSet() const { return m_infrastructureOptimizationHasBeenSet; }
106 template <typename InfrastructureOptimizationT = InfrastructureOptimization>
107 void SetInfrastructureOptimization(InfrastructureOptimizationT&& value) {
108 m_infrastructureOptimizationHasBeenSet = true;
109 m_infrastructureOptimization = std::forward<InfrastructureOptimizationT>(value);
110 }
111 template <typename InfrastructureOptimizationT = InfrastructureOptimization>
113 SetInfrastructureOptimization(std::forward<InfrastructureOptimizationT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_infrastructureRoleArn;
119
120 InstanceLaunchTemplateUpdate m_instanceLaunchTemplate;
121
123
124 InfrastructureOptimization m_infrastructureOptimization;
125 bool m_infrastructureRoleArnHasBeenSet = false;
126 bool m_instanceLaunchTemplateHasBeenSet = false;
127 bool m_propagateTagsHasBeenSet = false;
128 bool m_infrastructureOptimizationHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace ECS
133} // namespace Aws
UpdateManagedInstancesProviderConfiguration & WithInfrastructureRoleArn(InfrastructureRoleArnT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API UpdateManagedInstancesProviderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateManagedInstancesProviderConfiguration & WithPropagateTags(PropagateMITags value)
UpdateManagedInstancesProviderConfiguration & WithInstanceLaunchTemplate(InstanceLaunchTemplateT &&value)
UpdateManagedInstancesProviderConfiguration & WithInfrastructureOptimization(InfrastructureOptimizationT &&value)
AWS_ECS_API UpdateManagedInstancesProviderConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue