AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetIPSetResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/IpSetFormat.h>
10#include <aws/guardduty/model/IpSetStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GuardDuty
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GUARDDUTY_API GetIPSetResult();
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline void SetName(const Aws::String& value) { m_name = value; }
44 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
45 inline void SetName(const char* value) { m_name.assign(value); }
46 inline GetIPSetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline GetIPSetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline GetIPSetResult& WithName(const char* value) { SetName(value); return *this;}
50
52
55 inline const IpSetFormat& GetFormat() const{ return m_format; }
56 inline void SetFormat(const IpSetFormat& value) { m_format = value; }
57 inline void SetFormat(IpSetFormat&& value) { m_format = std::move(value); }
58 inline GetIPSetResult& WithFormat(const IpSetFormat& value) { SetFormat(value); return *this;}
59 inline GetIPSetResult& WithFormat(IpSetFormat&& value) { SetFormat(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetLocation() const{ return m_location; }
67 inline void SetLocation(const Aws::String& value) { m_location = value; }
68 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
69 inline void SetLocation(const char* value) { m_location.assign(value); }
70 inline GetIPSetResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
71 inline GetIPSetResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
72 inline GetIPSetResult& WithLocation(const char* value) { SetLocation(value); return *this;}
74
76
79 inline const IpSetStatus& GetStatus() const{ return m_status; }
80 inline void SetStatus(const IpSetStatus& value) { m_status = value; }
81 inline void SetStatus(IpSetStatus&& value) { m_status = std::move(value); }
82 inline GetIPSetResult& WithStatus(const IpSetStatus& value) { SetStatus(value); return *this;}
83 inline GetIPSetResult& WithStatus(IpSetStatus&& value) { SetStatus(std::move(value)); return *this;}
85
87
90 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
91 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
92 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
93 inline GetIPSetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
94 inline GetIPSetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
95 inline GetIPSetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
96 inline GetIPSetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
97 inline GetIPSetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
98 inline GetIPSetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
99 inline GetIPSetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
100 inline GetIPSetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
101 inline GetIPSetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
103
105
106 inline const Aws::String& GetRequestId() const{ return m_requestId; }
107 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
108 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
109 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
110 inline GetIPSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
111 inline GetIPSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
112 inline GetIPSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
114 private:
115
116 Aws::String m_name;
117
118 IpSetFormat m_format;
119
120 Aws::String m_location;
121
122 IpSetStatus m_status;
123
125
126 Aws::String m_requestId;
127 };
128
129} // namespace Model
130} // namespace GuardDuty
131} // namespace Aws
const IpSetFormat & GetFormat() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetIPSetResult & WithLocation(Aws::String &&value)
GetIPSetResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetRequestId() const
GetIPSetResult & WithFormat(const IpSetFormat &value)
GetIPSetResult & AddTags(Aws::String &&key, const char *value)
void SetRequestId(const Aws::String &value)
GetIPSetResult & WithFormat(IpSetFormat &&value)
AWS_GUARDDUTY_API GetIPSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIPSetResult & WithName(Aws::String &&value)
GetIPSetResult & WithLocation(const Aws::String &value)
GetIPSetResult & WithName(const char *value)
void SetFormat(IpSetFormat &&value)
GetIPSetResult & WithStatus(IpSetStatus &&value)
AWS_GUARDDUTY_API GetIPSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetLocation() const
GetIPSetResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetStatus(const IpSetStatus &value)
GetIPSetResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const IpSetStatus & GetStatus() const
GetIPSetResult & WithRequestId(Aws::String &&value)
GetIPSetResult & WithStatus(const IpSetStatus &value)
GetIPSetResult & WithName(const Aws::String &value)
GetIPSetResult & WithRequestId(const char *value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetName() const
void SetStatus(IpSetStatus &&value)
GetIPSetResult & AddTags(Aws::String &&key, Aws::String &&value)
GetIPSetResult & WithRequestId(const Aws::String &value)
GetIPSetResult & AddTags(const char *key, Aws::String &&value)
GetIPSetResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetLocation(const Aws::String &value)
GetIPSetResult & AddTags(const char *key, const char *value)
void SetLocation(const char *value)
void SetFormat(const IpSetFormat &value)
void SetLocation(Aws::String &&value)
void SetName(Aws::String &&value)
GetIPSetResult & AddTags(const Aws::String &key, Aws::String &&value)
GetIPSetResult & WithLocation(const char *value)
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