AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NonCompliantResource.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/ResourceType.h>
9#include <aws/iot/model/ResourceIdentifier.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoT
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOT_API NonCompliantResource();
42
43
45
48 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
49 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
50 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
51 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
52 inline NonCompliantResource& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
53 inline NonCompliantResource& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
55
57
60 inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
61 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
62 inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
63 inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
65 inline NonCompliantResource& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;}
67
69
72 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalInfo() const{ return m_additionalInfo; }
73 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
74 inline void SetAdditionalInfo(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
75 inline void SetAdditionalInfo(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
78 inline NonCompliantResource& AddAdditionalInfo(const Aws::String& key, const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
79 inline NonCompliantResource& AddAdditionalInfo(Aws::String&& key, const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; }
80 inline NonCompliantResource& AddAdditionalInfo(const Aws::String& key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
81 inline NonCompliantResource& AddAdditionalInfo(Aws::String&& key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; }
82 inline NonCompliantResource& AddAdditionalInfo(const char* key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
83 inline NonCompliantResource& AddAdditionalInfo(Aws::String&& key, const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; }
84 inline NonCompliantResource& AddAdditionalInfo(const char* key, const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
86 private:
87
88 ResourceType m_resourceType;
89 bool m_resourceTypeHasBeenSet = false;
90
91 ResourceIdentifier m_resourceIdentifier;
92 bool m_resourceIdentifierHasBeenSet = false;
93
95 bool m_additionalInfoHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace IoT
100} // namespace Aws
NonCompliantResource & AddAdditionalInfo(const Aws::String &key, const Aws::String &value)
NonCompliantResource & WithResourceType(ResourceType &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalInfo() const
NonCompliantResource & AddAdditionalInfo(const char *key, const char *value)
NonCompliantResource & AddAdditionalInfo(Aws::String &&key, const char *value)
void SetResourceType(const ResourceType &value)
NonCompliantResource & AddAdditionalInfo(Aws::String &&key, const Aws::String &value)
NonCompliantResource & WithResourceIdentifier(const ResourceIdentifier &value)
NonCompliantResource & WithResourceType(const ResourceType &value)
NonCompliantResource & WithAdditionalInfo(Aws::Map< Aws::String, Aws::String > &&value)
const ResourceIdentifier & GetResourceIdentifier() const
AWS_IOT_API NonCompliantResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalInfo(const Aws::Map< Aws::String, Aws::String > &value)
void SetAdditionalInfo(Aws::Map< Aws::String, Aws::String > &&value)
NonCompliantResource & AddAdditionalInfo(const char *key, Aws::String &&value)
AWS_IOT_API NonCompliantResource(Aws::Utils::Json::JsonView jsonValue)
NonCompliantResource & AddAdditionalInfo(const Aws::String &key, Aws::String &&value)
const ResourceType & GetResourceType() const
NonCompliantResource & WithResourceIdentifier(ResourceIdentifier &&value)
void SetResourceType(ResourceType &&value)
NonCompliantResource & WithAdditionalInfo(const Aws::Map< Aws::String, Aws::String > &value)
void SetResourceIdentifier(const ResourceIdentifier &value)
NonCompliantResource & AddAdditionalInfo(Aws::String &&key, Aws::String &&value)
void SetResourceIdentifier(ResourceIdentifier &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue