AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Observations.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API Observations();
37 AWS_GUARDDUTY_API Observations(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API Observations& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetText() const{ return m_text; }
47 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
48 inline void SetText(const Aws::Vector<Aws::String>& value) { m_textHasBeenSet = true; m_text = value; }
49 inline void SetText(Aws::Vector<Aws::String>&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
50 inline Observations& WithText(const Aws::Vector<Aws::String>& value) { SetText(value); return *this;}
51 inline Observations& WithText(Aws::Vector<Aws::String>&& value) { SetText(std::move(value)); return *this;}
52 inline Observations& AddText(const Aws::String& value) { m_textHasBeenSet = true; m_text.push_back(value); return *this; }
53 inline Observations& AddText(Aws::String&& value) { m_textHasBeenSet = true; m_text.push_back(std::move(value)); return *this; }
54 inline Observations& AddText(const char* value) { m_textHasBeenSet = true; m_text.push_back(value); return *this; }
56 private:
57
59 bool m_textHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace GuardDuty
64} // namespace Aws
void SetText(const Aws::Vector< Aws::String > &value)
Observations & WithText(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetText() const
AWS_GUARDDUTY_API Observations & operator=(Aws::Utils::Json::JsonView jsonValue)
Observations & WithText(Aws::Vector< Aws::String > &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetText(Aws::Vector< Aws::String > &&value)
Observations & AddText(const char *value)
Observations & AddText(Aws::String &&value)
AWS_GUARDDUTY_API Observations(Aws::Utils::Json::JsonView jsonValue)
Observations & AddText(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue