AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SalesforceAction.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOT_API SalesforceAction();
39
40
42
47 inline const Aws::String& GetToken() const{ return m_token; }
48 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
49 inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
50 inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
51 inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
52 inline SalesforceAction& WithToken(const Aws::String& value) { SetToken(value); return *this;}
53 inline SalesforceAction& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
54 inline SalesforceAction& WithToken(const char* value) { SetToken(value); return *this;}
56
58
63 inline const Aws::String& GetUrl() const{ return m_url; }
64 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
65 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
66 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
67 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
68 inline SalesforceAction& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
69 inline SalesforceAction& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
70 inline SalesforceAction& WithUrl(const char* value) { SetUrl(value); return *this;}
72 private:
73
74 Aws::String m_token;
75 bool m_tokenHasBeenSet = false;
76
77 Aws::String m_url;
78 bool m_urlHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace IoT
83} // namespace Aws
SalesforceAction & WithUrl(const Aws::String &value)
SalesforceAction & WithToken(const Aws::String &value)
AWS_IOT_API SalesforceAction & operator=(Aws::Utils::Json::JsonView jsonValue)
SalesforceAction & WithUrl(const char *value)
AWS_IOT_API SalesforceAction(Aws::Utils::Json::JsonView jsonValue)
void SetToken(Aws::String &&value)
const Aws::String & GetToken() const
void SetUrl(Aws::String &&value)
SalesforceAction & WithUrl(Aws::String &&value)
void SetUrl(const Aws::String &value)
SalesforceAction & WithToken(const char *value)
SalesforceAction & WithToken(Aws::String &&value)
const Aws::String & GetUrl() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetToken(const char *value)
void SetToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue