AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NewUserAgentDetail.h
1
6#pragma once
7#include <aws/detective/Detective_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 Detective
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DETECTIVE_API NewUserAgentDetail();
36 AWS_DETECTIVE_API NewUserAgentDetail(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUserAgent() const{ return m_userAgent; }
46 inline bool UserAgentHasBeenSet() const { return m_userAgentHasBeenSet; }
47 inline void SetUserAgent(const Aws::String& value) { m_userAgentHasBeenSet = true; m_userAgent = value; }
48 inline void SetUserAgent(Aws::String&& value) { m_userAgentHasBeenSet = true; m_userAgent = std::move(value); }
49 inline void SetUserAgent(const char* value) { m_userAgentHasBeenSet = true; m_userAgent.assign(value); }
50 inline NewUserAgentDetail& WithUserAgent(const Aws::String& value) { SetUserAgent(value); return *this;}
51 inline NewUserAgentDetail& WithUserAgent(Aws::String&& value) { SetUserAgent(std::move(value)); return *this;}
52 inline NewUserAgentDetail& WithUserAgent(const char* value) { SetUserAgent(value); return *this;}
54
56
59 inline bool GetIsNewForEntireAccount() const{ return m_isNewForEntireAccount; }
60 inline bool IsNewForEntireAccountHasBeenSet() const { return m_isNewForEntireAccountHasBeenSet; }
61 inline void SetIsNewForEntireAccount(bool value) { m_isNewForEntireAccountHasBeenSet = true; m_isNewForEntireAccount = value; }
62 inline NewUserAgentDetail& WithIsNewForEntireAccount(bool value) { SetIsNewForEntireAccount(value); return *this;}
64 private:
65
66 Aws::String m_userAgent;
67 bool m_userAgentHasBeenSet = false;
68
69 bool m_isNewForEntireAccount;
70 bool m_isNewForEntireAccountHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Detective
75} // namespace Aws
AWS_DETECTIVE_API NewUserAgentDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
NewUserAgentDetail & WithUserAgent(Aws::String &&value)
NewUserAgentDetail & WithUserAgent(const char *value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
NewUserAgentDetail & WithIsNewForEntireAccount(bool value)
void SetUserAgent(const Aws::String &value)
AWS_DETECTIVE_API NewUserAgentDetail(Aws::Utils::Json::JsonView jsonValue)
NewUserAgentDetail & WithUserAgent(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue