AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateRecommendationStatusItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ResilienceHub {
20namespace Model {
21
29 public:
30 AWS_RESILIENCEHUB_API UpdateRecommendationStatusItem() = default;
33 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetResourceId() const { return m_resourceId; }
40 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
41 template <typename ResourceIdT = Aws::String>
42 void SetResourceId(ResourceIdT&& value) {
43 m_resourceIdHasBeenSet = true;
44 m_resourceId = std::forward<ResourceIdT>(value);
45 }
46 template <typename ResourceIdT = Aws::String>
48 SetResourceId(std::forward<ResourceIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetTargetAccountId() const { return m_targetAccountId; }
58 inline bool TargetAccountIdHasBeenSet() const { return m_targetAccountIdHasBeenSet; }
59 template <typename TargetAccountIdT = Aws::String>
60 void SetTargetAccountId(TargetAccountIdT&& value) {
61 m_targetAccountIdHasBeenSet = true;
62 m_targetAccountId = std::forward<TargetAccountIdT>(value);
63 }
64 template <typename TargetAccountIdT = Aws::String>
66 SetTargetAccountId(std::forward<TargetAccountIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetTargetRegion() const { return m_targetRegion; }
76 inline bool TargetRegionHasBeenSet() const { return m_targetRegionHasBeenSet; }
77 template <typename TargetRegionT = Aws::String>
78 void SetTargetRegion(TargetRegionT&& value) {
79 m_targetRegionHasBeenSet = true;
80 m_targetRegion = std::forward<TargetRegionT>(value);
81 }
82 template <typename TargetRegionT = Aws::String>
84 SetTargetRegion(std::forward<TargetRegionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_resourceId;
90
91 Aws::String m_targetAccountId;
92
93 Aws::String m_targetRegion;
94 bool m_resourceIdHasBeenSet = false;
95 bool m_targetAccountIdHasBeenSet = false;
96 bool m_targetRegionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace ResilienceHub
101} // namespace Aws
AWS_RESILIENCEHUB_API UpdateRecommendationStatusItem(Aws::Utils::Json::JsonView jsonValue)
UpdateRecommendationStatusItem & WithTargetAccountId(TargetAccountIdT &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateRecommendationStatusItem & WithTargetRegion(TargetRegionT &&value)
UpdateRecommendationStatusItem & WithResourceId(ResourceIdT &&value)
AWS_RESILIENCEHUB_API UpdateRecommendationStatusItem()=default
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