AWS SDK for C++

AWS SDK for C++ Version 1.11.920

Loading...
Searching...
No Matches
GatewayResources.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/GatewayInfrastructureResources.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ECS {
21namespace Model {
22
30 public:
31 AWS_ECS_API GatewayResources() = default;
35
37
40 inline const Aws::String& GetGatewayArn() const { return m_gatewayArn; }
41 inline bool GatewayArnHasBeenSet() const { return m_gatewayArnHasBeenSet; }
42 template <typename GatewayArnT = Aws::String>
43 void SetGatewayArn(GatewayArnT&& value) {
44 m_gatewayArnHasBeenSet = true;
45 m_gatewayArn = std::forward<GatewayArnT>(value);
46 }
47 template <typename GatewayArnT = Aws::String>
48 GatewayResources& WithGatewayArn(GatewayArnT&& value) {
49 SetGatewayArn(std::forward<GatewayArnT>(value));
50 return *this;
51 }
53
55
58 inline const GatewayInfrastructureResources& GetResources() const { return m_resources; }
59 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
60 template <typename ResourcesT = GatewayInfrastructureResources>
61 void SetResources(ResourcesT&& value) {
62 m_resourcesHasBeenSet = true;
63 m_resources = std::forward<ResourcesT>(value);
64 }
65 template <typename ResourcesT = GatewayInfrastructureResources>
66 GatewayResources& WithResources(ResourcesT&& value) {
67 SetResources(std::forward<ResourcesT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_gatewayArn;
73
75 bool m_gatewayArnHasBeenSet = false;
76 bool m_resourcesHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ECS
81} // namespace Aws
const Aws::String & GetGatewayArn() const
void SetResources(ResourcesT &&value)
AWS_ECS_API GatewayResources & operator=(Aws::Utils::Json::JsonView jsonValue)
GatewayResources & WithGatewayArn(GatewayArnT &&value)
const GatewayInfrastructureResources & GetResources() const
AWS_ECS_API GatewayResources(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API GatewayResources()=default
void SetGatewayArn(GatewayArnT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
GatewayResources & WithResources(ResourcesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue