AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceDrift.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/model/DifferenceType.h>
10#include <aws/resiliencehub/model/ResourceIdentifier.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ResilienceHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_RESILIENCEHUB_API ResourceDrift();
38 AWS_RESILIENCEHUB_API ResourceDrift(Aws::Utils::Json::JsonView jsonValue);
39 AWS_RESILIENCEHUB_API ResourceDrift& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
53 inline const Aws::String& GetAppArn() const{ return m_appArn; }
54 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
55 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
56 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
57 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
58 inline ResourceDrift& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
59 inline ResourceDrift& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
60 inline ResourceDrift& WithAppArn(const char* value) { SetAppArn(value); return *this;}
62
64
67 inline const Aws::String& GetAppVersion() const{ return m_appVersion; }
68 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
69 inline void SetAppVersion(const Aws::String& value) { m_appVersionHasBeenSet = true; m_appVersion = value; }
70 inline void SetAppVersion(Aws::String&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::move(value); }
71 inline void SetAppVersion(const char* value) { m_appVersionHasBeenSet = true; m_appVersion.assign(value); }
72 inline ResourceDrift& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;}
73 inline ResourceDrift& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
74 inline ResourceDrift& WithAppVersion(const char* value) { SetAppVersion(value); return *this;}
76
78
81 inline const DifferenceType& GetDiffType() const{ return m_diffType; }
82 inline bool DiffTypeHasBeenSet() const { return m_diffTypeHasBeenSet; }
83 inline void SetDiffType(const DifferenceType& value) { m_diffTypeHasBeenSet = true; m_diffType = value; }
84 inline void SetDiffType(DifferenceType&& value) { m_diffTypeHasBeenSet = true; m_diffType = std::move(value); }
85 inline ResourceDrift& WithDiffType(const DifferenceType& value) { SetDiffType(value); return *this;}
86 inline ResourceDrift& WithDiffType(DifferenceType&& value) { SetDiffType(std::move(value)); return *this;}
88
90
93 inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
94 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
95 inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
96 inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
97 inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
98 inline ResourceDrift& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
99 inline ResourceDrift& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
100 inline ResourceDrift& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
102
104
107 inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
108 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
109 inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
110 inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
112 inline ResourceDrift& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;}
114 private:
115
116 Aws::String m_appArn;
117 bool m_appArnHasBeenSet = false;
118
119 Aws::String m_appVersion;
120 bool m_appVersionHasBeenSet = false;
121
122 DifferenceType m_diffType;
123 bool m_diffTypeHasBeenSet = false;
124
125 Aws::String m_referenceId;
126 bool m_referenceIdHasBeenSet = false;
127
128 ResourceIdentifier m_resourceIdentifier;
129 bool m_resourceIdentifierHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace ResilienceHub
134} // namespace Aws
const ResourceIdentifier & GetResourceIdentifier() const
void SetDiffType(DifferenceType &&value)
AWS_RESILIENCEHUB_API ResourceDrift(Aws::Utils::Json::JsonView jsonValue)
ResourceDrift & WithDiffType(const DifferenceType &value)
ResourceDrift & WithResourceIdentifier(ResourceIdentifier &&value)
void SetResourceIdentifier(ResourceIdentifier &&value)
void SetReferenceId(Aws::String &&value)
ResourceDrift & WithAppVersion(const char *value)
void SetAppArn(const Aws::String &value)
ResourceDrift & WithAppArn(Aws::String &&value)
const DifferenceType & GetDiffType() const
const Aws::String & GetAppArn() const
ResourceDrift & WithAppVersion(Aws::String &&value)
void SetAppVersion(Aws::String &&value)
ResourceDrift & WithAppArn(const Aws::String &value)
ResourceDrift & WithResourceIdentifier(const ResourceIdentifier &value)
ResourceDrift & WithDiffType(DifferenceType &&value)
ResourceDrift & WithReferenceId(const Aws::String &value)
const Aws::String & GetReferenceId() const
ResourceDrift & WithReferenceId(const char *value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDrift & WithAppArn(const char *value)
ResourceDrift & WithAppVersion(const Aws::String &value)
void SetAppArn(Aws::String &&value)
void SetAppVersion(const Aws::String &value)
void SetDiffType(const DifferenceType &value)
void SetResourceIdentifier(const ResourceIdentifier &value)
AWS_RESILIENCEHUB_API ResourceDrift()
AWS_RESILIENCEHUB_API ResourceDrift & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReferenceId(const Aws::String &value)
const Aws::String & GetAppVersion() const
ResourceDrift & WithReferenceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue