AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline RecommendationResourceExclusion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline RecommendationResourceExclusion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline RecommendationResourceExclusion& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline bool GetIsExcluded() const{ return m_isExcluded; }
61 inline bool IsExcludedHasBeenSet() const { return m_isExcludedHasBeenSet; }
62 inline void SetIsExcluded(bool value) { m_isExcludedHasBeenSet = true; m_isExcluded = value; }
63 inline RecommendationResourceExclusion& WithIsExcluded(bool value) { SetIsExcluded(value); return *this;}
65 private:
66
67 Aws::String m_arn;
68 bool m_arnHasBeenSet = false;
69
70 bool m_isExcluded;
71 bool m_isExcludedHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace TrustedAdvisor
76} // namespace Aws
RecommendationResourceExclusion & WithArn(const char *value)
AWS_TRUSTEDADVISOR_API RecommendationResourceExclusion(Aws::Utils::Json::JsonView jsonValue)
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationResourceExclusion & WithArn(const Aws::String &value)
RecommendationResourceExclusion & WithArn(Aws::String &&value)
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