AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkResourceCount.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_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 NetworkManager
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_NETWORKMANAGER_API NetworkResourceCount();
35 AWS_NETWORKMANAGER_API NetworkResourceCount(Aws::Utils::Json::JsonView jsonValue);
36 AWS_NETWORKMANAGER_API NetworkResourceCount& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
45 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
46 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
47 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
48 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
49 inline NetworkResourceCount& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
50 inline NetworkResourceCount& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
51 inline NetworkResourceCount& WithResourceType(const char* value) { SetResourceType(value); return *this;}
53
55
58 inline int GetCount() const{ return m_count; }
59 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
60 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
61 inline NetworkResourceCount& WithCount(int value) { SetCount(value); return *this;}
63 private:
64
65 Aws::String m_resourceType;
66 bool m_resourceTypeHasBeenSet = false;
67
68 int m_count;
69 bool m_countHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace NetworkManager
74} // namespace Aws
NetworkResourceCount & WithResourceType(const char *value)
NetworkResourceCount & WithResourceType(const Aws::String &value)
AWS_NETWORKMANAGER_API NetworkResourceCount(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API NetworkResourceCount & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkResourceCount & WithResourceType(Aws::String &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue