AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRecommendationStatusItem.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_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 ResilienceHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_RESILIENCEHUB_API UpdateRecommendationStatusItem();
38 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
46 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
47 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
48 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
49 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
50 inline UpdateRecommendationStatusItem& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
51 inline UpdateRecommendationStatusItem& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
52 inline UpdateRecommendationStatusItem& WithResourceId(const char* value) { SetResourceId(value); return *this;}
54
56
59 inline const Aws::String& GetTargetAccountId() const{ return m_targetAccountId; }
60 inline bool TargetAccountIdHasBeenSet() const { return m_targetAccountIdHasBeenSet; }
61 inline void SetTargetAccountId(const Aws::String& value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId = value; }
62 inline void SetTargetAccountId(Aws::String&& value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId = std::move(value); }
63 inline void SetTargetAccountId(const char* value) { m_targetAccountIdHasBeenSet = true; m_targetAccountId.assign(value); }
65 inline UpdateRecommendationStatusItem& WithTargetAccountId(Aws::String&& value) { SetTargetAccountId(std::move(value)); return *this;}
66 inline UpdateRecommendationStatusItem& WithTargetAccountId(const char* value) { SetTargetAccountId(value); return *this;}
68
70
73 inline const Aws::String& GetTargetRegion() const{ return m_targetRegion; }
74 inline bool TargetRegionHasBeenSet() const { return m_targetRegionHasBeenSet; }
75 inline void SetTargetRegion(const Aws::String& value) { m_targetRegionHasBeenSet = true; m_targetRegion = value; }
76 inline void SetTargetRegion(Aws::String&& value) { m_targetRegionHasBeenSet = true; m_targetRegion = std::move(value); }
77 inline void SetTargetRegion(const char* value) { m_targetRegionHasBeenSet = true; m_targetRegion.assign(value); }
78 inline UpdateRecommendationStatusItem& WithTargetRegion(const Aws::String& value) { SetTargetRegion(value); return *this;}
79 inline UpdateRecommendationStatusItem& WithTargetRegion(Aws::String&& value) { SetTargetRegion(std::move(value)); return *this;}
80 inline UpdateRecommendationStatusItem& WithTargetRegion(const char* value) { SetTargetRegion(value); return *this;}
82 private:
83
84 Aws::String m_resourceId;
85 bool m_resourceIdHasBeenSet = false;
86
87 Aws::String m_targetAccountId;
88 bool m_targetAccountIdHasBeenSet = false;
89
90 Aws::String m_targetRegion;
91 bool m_targetRegionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ResilienceHub
96} // namespace Aws
AWS_RESILIENCEHUB_API UpdateRecommendationStatusItem(Aws::Utils::Json::JsonView jsonValue)
UpdateRecommendationStatusItem & WithTargetRegion(const char *value)
UpdateRecommendationStatusItem & WithTargetAccountId(const Aws::String &value)
UpdateRecommendationStatusItem & WithTargetAccountId(const char *value)
UpdateRecommendationStatusItem & WithTargetRegion(const Aws::String &value)
UpdateRecommendationStatusItem & WithResourceId(Aws::String &&value)
UpdateRecommendationStatusItem & WithResourceId(const char *value)
UpdateRecommendationStatusItem & WithTargetAccountId(Aws::String &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateRecommendationStatusItem & WithTargetRegion(Aws::String &&value)
UpdateRecommendationStatusItem & WithResourceId(const Aws::String &value)
AWS_RESILIENCEHUB_API UpdateRecommendationStatusItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue