AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecommendationResourceExclusion.h
1
6#pragma once
7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TrustedAdvisor
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_TRUSTEDADVISOR_API RecommendationResourceExclusion() = default;
39 AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 RecommendationResourceExclusion& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline bool GetIsExcluded() const { return m_isExcluded; }
59 inline bool IsExcludedHasBeenSet() const { return m_isExcludedHasBeenSet; }
60 inline void SetIsExcluded(bool value) { m_isExcludedHasBeenSet = true; m_isExcluded = value; }
61 inline RecommendationResourceExclusion& WithIsExcluded(bool value) { SetIsExcluded(value); return *this;}
63 private:
64
65 Aws::String m_arn;
66 bool m_arnHasBeenSet = false;
67
68 bool m_isExcluded{false};
69 bool m_isExcludedHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace TrustedAdvisor
74} // 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