AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
RecommendationResourceExclusion.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TrustedAdvisor {
20namespace Model {
21
30 public:
31 AWS_TRUSTEDADVISOR_API RecommendationResourceExclusion() = default;
34 AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline bool GetIsExcluded() const { return m_isExcluded; }
59 inline bool IsExcludedHasBeenSet() const { return m_isExcludedHasBeenSet; }
60 inline void SetIsExcluded(bool value) {
61 m_isExcludedHasBeenSet = true;
62 m_isExcluded = value;
63 }
65 SetIsExcluded(value);
66 return *this;
67 }
69 private:
70 Aws::String m_arn;
71
72 bool m_isExcluded{false};
73 bool m_arnHasBeenSet = false;
74 bool m_isExcludedHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace TrustedAdvisor
79} // namespace Aws
AWS_TRUSTEDADVISOR_API RecommendationResourceExclusion(Aws::Utils::Json::JsonView jsonValue)
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRUSTEDADVISOR_API RecommendationResourceExclusion()=default
AWS_TRUSTEDADVISOR_API RecommendationResourceExclusion & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue