AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceInUseException.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/model/ReferenceType.h>
9#include <aws/lex-models/model/ResourceReference.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelBuildingService
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_LEXMODELBUILDINGSERVICE_API ResourceInUseException();
42 AWS_LEXMODELBUILDINGSERVICE_API ResourceInUseException(Aws::Utils::Json::JsonView jsonValue);
43 AWS_LEXMODELBUILDINGSERVICE_API ResourceInUseException& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
49 inline const ReferenceType& GetReferenceType() const{ return m_referenceType; }
50 inline bool ReferenceTypeHasBeenSet() const { return m_referenceTypeHasBeenSet; }
51 inline void SetReferenceType(const ReferenceType& value) { m_referenceTypeHasBeenSet = true; m_referenceType = value; }
52 inline void SetReferenceType(ReferenceType&& value) { m_referenceTypeHasBeenSet = true; m_referenceType = std::move(value); }
53 inline ResourceInUseException& WithReferenceType(const ReferenceType& value) { SetReferenceType(value); return *this;}
54 inline ResourceInUseException& WithReferenceType(ReferenceType&& value) { SetReferenceType(std::move(value)); return *this;}
56
58
59 inline const ResourceReference& GetExampleReference() const{ return m_exampleReference; }
60 inline bool ExampleReferenceHasBeenSet() const { return m_exampleReferenceHasBeenSet; }
61 inline void SetExampleReference(const ResourceReference& value) { m_exampleReferenceHasBeenSet = true; m_exampleReference = value; }
62 inline void SetExampleReference(ResourceReference&& value) { m_exampleReferenceHasBeenSet = true; m_exampleReference = std::move(value); }
64 inline ResourceInUseException& WithExampleReference(ResourceReference&& value) { SetExampleReference(std::move(value)); return *this;}
66 private:
67
68 ReferenceType m_referenceType;
69 bool m_referenceTypeHasBeenSet = false;
70
71 ResourceReference m_exampleReference;
72 bool m_exampleReferenceHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace LexModelBuildingService
77} // namespace Aws
ResourceInUseException & WithExampleReference(const ResourceReference &value)
AWS_LEXMODELBUILDINGSERVICE_API ResourceInUseException(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceInUseException & WithExampleReference(ResourceReference &&value)
ResourceInUseException & WithReferenceType(const ReferenceType &value)
AWS_LEXMODELBUILDINGSERVICE_API ResourceInUseException & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceInUseException & WithReferenceType(ReferenceType &&value)
AWS_LEXMODELBUILDINGSERVICE_API ResourceInUseException()
Aws::Utils::Json::JsonValue JsonValue