AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
IngressPathSummary.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/AccessType.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
29 public:
30 AWS_ECS_API IngressPathSummary() = default;
34
36
39 inline AccessType GetAccessType() const { return m_accessType; }
40 inline bool AccessTypeHasBeenSet() const { return m_accessTypeHasBeenSet; }
41 inline void SetAccessType(AccessType value) {
42 m_accessTypeHasBeenSet = true;
43 m_accessType = value;
44 }
46 SetAccessType(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
56 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
57 template <typename EndpointT = Aws::String>
58 void SetEndpoint(EndpointT&& value) {
59 m_endpointHasBeenSet = true;
60 m_endpoint = std::forward<EndpointT>(value);
61 }
62 template <typename EndpointT = Aws::String>
63 IngressPathSummary& WithEndpoint(EndpointT&& value) {
64 SetEndpoint(std::forward<EndpointT>(value));
65 return *this;
66 }
68 private:
69 AccessType m_accessType{AccessType::NOT_SET};
70
71 Aws::String m_endpoint;
72 bool m_accessTypeHasBeenSet = false;
73 bool m_endpointHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ECS
78} // namespace Aws
AWS_ECS_API IngressPathSummary()=default
const Aws::String & GetEndpoint() const
AWS_ECS_API IngressPathSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IngressPathSummary & WithEndpoint(EndpointT &&value)
AWS_ECS_API IngressPathSummary(Aws::Utils::Json::JsonView jsonValue)
IngressPathSummary & WithAccessType(AccessType value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue